Beginner
PythonBuilding a REST API with FastAPI in 30 minutes
A hands-on walkthrough from project setup to deployed endpoints.
Riya Mehta6 min read
Step-by-step guides, ready-to-run code, and interview drills across 14 languages — written by engineers who ship.
int twoSum(vector<int>& nums, int target) {
map<int, int> seen;
for (int i in nums) {
int need = target − nums[i];
if (seen.count(need)) return seen[need];
seen[nums[i]] = i;
}
}
Time complexity
O(n)
Featured course
A guided track through consistency, queues, caching, and the trade-offs behind reliable software.
Explore by topic
Fresh this week
A hands-on walkthrough from project setup to deployed endpoints.
Edge caching, DNS, and the real cost of a global request.
When B-trees give way to LSM-trees, and how to choose.
Practice lab
Difficulty-tagged, language-agnostic, and linked straight to the explanation.