What is the space complexity of a typical recursive Fibonacci implementation without memoization?
Anonymous Quiz
3%
O(1)
57%
O(n)
30%
O(log n)
10%
O(n^2)
❤2
Which CSS property controls the space between an element's border and its content?
Anonymous Quiz
28%
margin
52%
padding
16%
spacing
4%
border-gap
What advantage does a doubly linked list have over a singly linked list?
Anonymous Quiz
4%
Faster random access
83%
It can be traversed backward as well as forward
13%
It uses less memory
0%
It supports binary search
What does the Python slice list[::-1] do?
Anonymous Quiz
24%
Removes the last element
56%
Reverses the list
14%
Sorts the list descending
6%
Returns an empty list
👍2
What is the default value of a boolean instance variable in Java?
Anonymous Quiz
19%
true
38%
false
38%
null
4%
0
Which concept allows one algorithm to solve many different problems by changing only the input?
Anonymous Quiz
7%
Hardcoding
60%
Abstraction
13%
Duplication
20%
Compilation
What is the core idea behind consistent hashing, and why is it useful for distributed caches?
Anonymous Quiz
18%
It hashes every request to the same single server for simplicity
55%
It maps servers and keys onto a hash ring, remapping only a few keys
14%
It guarantees perfectly even load regardless of key distribution
14%
It's a way to encrypt cache keys
What is the amortized time complexity of appending to a dynamic array (like Python's list or Java's ArrayList)?
Anonymous Quiz
17%
O(n) always, because it must resize every time
70%
O(1) amortized, even though occasional resizes cost O(n)
9%
O(log n) amortized
4%
O(1) worst case, every single append
What does the strict equality operator === check that == does not?
Anonymous Quiz
10%
Variable names
74%
Type in addition to value
8%
Memory address
8%
Nothing, they're identical
What problem does a message queue primarily solve?
Anonymous Quiz
9%
Sorting large datasets
77%
Decoupling producers and consumers so they can work asynchronously
9%
Encrypting messages between services
5%
Rendering web pages faster
In dynamic programming, what distinguishes memoization from tabulation?
Anonymous Quiz
0%
They are the same technique with different names
73%
Memoization is top-down recursion; tabulation is bottom-up
23%
Tabulation always uses more memory than memoization
5%
Memoization can't be used with recursion
Topic: JavaScript
🔍 Quick look before the question:
🔍 Quick look before the question:
function Counter() {
this.count = 0;
this.increment = function() {
this.count++;
};
}
const c = new Counter();
const inc = c.increment;
inc();
console.log(c.count);
When an interviewer asks "Tell me about yourself," what should your answer focus on?
Anonymous Quiz
0%
Your entire life story in detail
95%
A brief, relevant summary connecting your background to the role
5%
Your salary expectations
0%
Why you left your last job
What is the time complexity of searching in a balanced binary search tree?
Anonymous Quiz
9%
O(1)
43%
O(log n)
43%
O(n)
4%
O(n log n)
Topic: SQL
🔍 Quick look before the question:
🔍 Quick look before the question:
SELECT e.name, e.salary
FROM employees e
WHERE e.salary > (
SELECT AVG(salary)
FROM employees
WHERE department = e.department
);
What does this query return?
Anonymous Quiz
15%
All employees earning more than the overall company average
76%
Employees earning more than the average salary within their own department
7%
A syntax error, since subqueries can't reference the outer query
1%
The single highest paid employee company-wide
What is the key memory difference between a generator and a list comprehension?
Anonymous Quiz
25%
Generators store all values in memory immediately, lists don't
75%
Generators produce values lazily one at a time, lists build the entire sequence in memory upfront
0%
There is no difference, both are lazy
0%
Lists are always faster regardless of size
❤2
What problem does dependency injection primarily address?
Anonymous Quiz
0%
It makes code run faster at the CPU level
89%
Reduces hardcoded dependencies, making code easier to test
11%
It automatically writes unit tests
0%
It eliminates the need for interfaces