Asked to solve an online IQ test
Lead Backend Developer Interview Questions
15,498 lead backend developer interview questions shared by candidates
Second phone interview: design a social media platform to share pictures (basically Instagram). What SQL queries would you run to get posts from a particular user, or to get all the users who haven't posted anything before?
Final round, systems design interview: design a social media platform to share pictures (basically Instagram, again).
Difference between AWS EC2 and RDS
4) Fixing bug in existing code and enhance the feature. it was easy!
what is the difference between nodejs async and java thread
first round: Design an **Autocomplete System** that provides the **top 10 most-searched words** based on a given prefix. 1. **Insert a Word:** Utilize a **Trie** structure, storing words and their frequencies at the leaf nodes. 2. **Retrieve Suggestions:** Traverse the Trie for the prefix, then apply a **max-heap** to track the top 10 words by frequency. 3. **Time Complexity:** - **Insertion:** O(L), where L is the length of the word. - **Search:** O(P + K log K), where P is the length of the prefix and K is the number of suggestions. Example: For the prefix **"ap"**, suggestions may include: `apple (50)`, `app (40)`, `apricot (30)`, `application (20)`. high level design, without coding second round was to design a system that relates to blockchain, to fetch transaction from it and to find specific details in specific blocks, store it on a db and fetch it from there in future searches (not sure the interviewer was 100% sure about the specifications of the system)
What are some things that you thought yourself?
What is ORM (Object Relation Mapping)? What is a migration?
How to Optimize query and handle large sets of data in your code.
Viewing 8071 - 8080 interview questions