Home Blog

How to tell if a question is system design or object oriented design?

What I’m about to tell you is a common scenario. Let me tell you a story about John. John was asked to implement a chess game. He thought it was a System Design question, so...

As a busy engineer, how do I focus and prepare for job interviews?

Here’s a hack - every day, before going home, go to a coffee shop. Spend an hour studying for interviews there. This will ensure you have a fixed time to study. Next, make sure you...

I struggle with most LeetCode questions, what should I do?

Don’t spend more than 15 minutes stuck on a question! (At least when you are starting your prep) If you are stuck for more than 15 minutes in the beginning, just look at the solution.

What are some tips for approaching coding interview questions?

Massage the problem: Yes, you read it right. If you’re unable to find a solution, take different examples and try solving them manually. Solve how a human would solve them. After a couple of examples, a pattern might emerge.Draw out examples: For...

What are the biggest mistakes people make in whiteboard coding interviews?

Here is a list, in chronological order: 1. Not asking clarifying questions Asking clarifying questions is expected in interviews nowadays. It is common interview protocol that even companies talk about. See: How to:...

What system design & distributed systems topics should I study to prepare for a Google interview?

System Design interview expectations have increased significantly in the past 3 years. Before that, interviewers were generally looking for good thought process and a fundamental sense of designing a system. When candidates started preparing more,...

What are some of the questions asked in Google interviews?

Q. What are some of the questions asked in Google interviews? Anyone showing you a list of questions commonly asked at Google is misleading you, even if they don't intend to. Think about it, people...

Interviewer: “If I copy-paste your code into an IDE, will it run?”

A candidate once told me a phone screen story. He wrote an algorithm on an online editor, and at the end of the interview, the interviewer asked him - "If I copy-paste this code into an IDE, will...

System Design Tips for implementing a Search Index

In Interview Camp's Live Session, we discussed implementing a Search Index. This index consumes text documents, indexes them and lets users perform search queries. An example of such a system is Amazon ElasticSearch or Apache Lucene.

Which Database Brand to use in System Design Interviews?

MongoDB? Cassandra? GraphQL? This seems like a common confusion among candidates. If you are asked to design a backend system, more than likely you will need to include a database. For scalable backends, these are generally in two...