Skip to content
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
More
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
More
Home
/
Backend Developer
/
Questions
/
Complexity
Backend Developer
Complexity questions
10 questions on Complexity for backend developers, easiest first.
Easy
3
Cost of plain recursive Fibonacci
easy
Cost of the knapsack DP
easy
Binary search steps for 1 million
easy
Medium
4
Estimating a DP’s running time
medium
Number of calls in plain recursive fib(5)
medium
Cost of the sieve of Eratosthenes
medium
Why fib(50) never finishes
medium
Hard
3
Fibonacci for a huge n
hard
Is O(n × amount) polynomial?
hard
Visiting every node versus every edge
hard