Ctrl K

Question library

Questions from real interviews. Drill any of them by voice in a couple of minutes, with an interviewer, a score and feedback.

Give me an example of when you did something useful at work that nobody asked you to do.BehavioralJuniorTell me about a time when someone on your team didn't finish their part of the work on time, and your task depended on it. What did you do?BehavioralJuniorTell me about a time when you had several urgent tasks at once. How did you decide where to start?BehavioralJuniorTell me about a time you disagreed with a colleague or a classmate about how to do a task. How was it resolved?BehavioralJuniorTell me about a time you got a task with a vague brief. How did you figure out what needed to be done?BehavioralJuniorTell me about a time you got critical feedback on your work. How did you react to it?BehavioralJuniorTell me about a time you got stuck on a task and couldn't solve it on your own. What did you do?BehavioralJuniorTell me about a time you had to quickly get up to speed on something completely new to you.BehavioralJuniorTell me about a time you made a mistake at work or in school. What happened next?BehavioralJuniorTell me about the project or task you're most proud of.BehavioralJuniorA registration form has an "Age" field that accepts whole numbers from 18 to 65. What checks would you come up with for this field, and how would you choose the specific values?QA · TheoryJuniorExplain how a hash table works and why lookup in it is O(1) on average. What is a collision, and when does a hash table degrade?TheoryJuniorExplain how a heap works and how to use it to find the k largest elements. Why is a heap of size k better than a full sort?TheoryJuniorExplain how a variable-length sliding window works and how sliding window problems differ from prefix sum problems. When won't a sliding window work?TheoryJuniorExplain how an event propagates in the DOM and what event delegation is.Frontend · TheoryJuniorExplain how async and await work in Python. What happens if you call a regular time.sleep inside a coroutine?Python · TheoryJuniorExplain how backtracking works, using the example of generating all subsets, and what its complexity is.TheoryJuniorExplain how the event loop works in JavaScript. And what gets printed to the console if a script has, one after another, a console.log, a setTimeout with zero delay, and a Promise.resolve().then?Frontend · TheoryJuniorExplain how to find the order in which to run tasks that have dependencies (topological sort), and how to detect a cycle along the way.TheoryJuniorExplain how to reverse a linked list in place, and why a dummy head is used in linked list problems. What's the time and space complexity?TheoryJuniorExplain how you approach a problem with dynamic programming: how you choose the state, the transition and the base case. Show it on the climbing stairs problem or the house robber problem.TheoryJuniorExplain in simple terms what a p-value is.Data Analyst · TheoryJuniorExplain the difference between INNER JOIN, LEFT JOIN and FULL OUTER JOIN.Data Analyst · SQL · TheoryJuniorExplain the difference between depth-first and breadth-first tree traversal: how each one is implemented, what their space complexity is, and in which problems you'd choose BFS.TheoryJuniorExplain the two-pointer technique: when does it apply, why does it give O(n) instead of O(n²), and what example would you use to show it in an interview?TheoryJuniorExplain what Big O notation is and how to estimate the complexity of an algorithm. Why is O(n log n) better than O(n²) in practice, and why don't we write constants inside the O?TheoryJuniorExplain what a monotonic stack is and how it helps find the next greater element for every number in O(n).TheoryJuniorExplain what binary search on the answer is, and how you can tell that a problem can be solved with binary search even when there's no sorted array in it.TheoryJuniorHow are primitive types in Java different from wrapper classes, and what is autoboxing?Java · TheoryJuniorHow do automated tests fit into continuous integration, and what happens when a test fails in the pipeline?QA · TheoryJuniorHow do you decide which tests are worth automating and which are better left manual?QA · TheoryJuniorHow do you find and handle missing values in pandas?Data Analyst · TheoryJuniorHow do you write tests with pytest? Tell me about fixtures and how to replace an external dependency in a test.Python · TheoryJuniorHow do you write unit tests in Java, and what is Mockito for?Java · TheoryJuniorHow does HTTP caching work in the browser?Frontend · TheoryJuniorHow does a HashMap work internally? What happens when you call put?Java · TheoryJuniorHow does memory management work in Python? How are objects that are no longer needed removed?Python · TheoryJuniorHow does prototypal inheritance work in JavaScript?Frontend · TheoryJuniorHow does the @Transactional annotation work in Spring?Java · TheoryJuniorHow does the Stream API work, and what role do lambdas play in it?Java · TheoryJuniorHow is Django different from FastAPI? What kinds of projects would you choose each one for?Python · TheoryJuniorHow is reflow different from repaint, and why does frequent reflow hurt performance?Frontend · TheoryJuniorHow is testing a mobile app different from testing a website?QA · TheoryJuniorHow would you calculate user retention for a mobile app?Data Analyst · Product Analyst · TheoryJuniorHow would you plan an A/B test of a new checkout button in an online store?Data Analyst · TheoryJuniorImagine a function add with a parameter items whose default value is an empty list. The function appends an element to that list and returns it. What happens if you call it twice in a row without passing the second argument?Python · TheoryJuniorImagine a query against a large table is running very slowly. Where would you start investigating?Data Analyst · SQL · TheoryJuniorIn TypeScript, how is the unknown type different from any?Frontend · TheoryJuniorIn TypeScript, what's the difference between interface and type?Frontend · TheoryJuniorIn an online store, the discount depends on three conditions: whether the customer has a loyalty card, whether the order total is over $100, and whether this is their first order. How would you design the tests so that you don't miss a single combination?QA · TheoryJunior
1 of 11 · 512 questions