5questions
IntermediateNext.js
5 subjects
1 easy3 medium1 hard
How would you give the marketing pages and the signed-in dashboard different root layouts without changing any URLs?
Start practising4 easy8 medium5 hard
// 17 of 17 questions · 17 subjects
Which language should you use for coding interviews, and what should you know cold about it?
easyInterview prepLanguages
Why write pseudo code before coding a solution in an interview?
easyPseudo codeFunctions
What is the difference between an abstract data type and a data structure?
easyAbstract data types
How can changing only the data structure turn a job from hours into seconds?
mediumPerformanceHash sets
Linked lists have O(1) insertion. Why do arrays usually win in practice anyway?
mediumArraysLinked lists
mediumBig-OAsymptotic notation
Given an input size, how do you decide which complexity class your solution must reach?
hardGrowth classesEstimation
When does sort stability matter, and which common algorithms are stable?
mediumStabilityMerge sort
Why is binary search so easy to get wrong, and how do you write it reliably?
mediumBinary searchOff-by-one
Why can a binary search tree degrade to O(n), and how do balanced trees prevent it?
mediumBSTBalancing
When can you use BFS, Dijkstra or Bellman-Ford for shortest paths?
hardShortest pathDijkstra
How does union-find answer connectivity queries in nearly constant time?
hardUnion-FindTrie
Why do databases use B+ trees rather than binary search trees?
hardB+ treesSkip lists
An index made reads faster. Why did writes get slower, and when is an index not worth it?
mediumIndexesTrade-offs
How do you tell whether a problem needs dynamic programming or a greedy algorithm?
hardDynamic programmingGreedy
How does the sliding window pattern turn an O(n^2) substring problem into O(n)?
mediumSliding windowTwo pointers
How should you practise on LeetCode so that it actually transfers to interviews?
easyPractice strategy
5questions
Intermediate5 subjects
1 easy3 medium1 hard
How would you give the marketing pages and the signed-in dashboard different root layouts without changing any URLs?
Start practising26questions
Intermediate26 subjects
4 easy13 medium9 hard
Walk through what happens between typing a URL into the browser and your backend handler running.
Start practising29questions
Intermediate29 subjects
7 easy15 medium7 hard
How does an AI engineer's job differ from an ML engineer's?
Start practising