Coding Interview

[Review] Learn to Code by Solving Problems – by Prof. Daniel Zingaro

In this article, I’ll review the book “Learn to Code by Solving Problems: A Python Programming Primer” by Prof. Daniel Zingaro. The book is available here: Amazon NoStarch This is an independent review. I didn’t include any affiliate link, so I won’t get compensated if you decide to purchase the book. Although I know Daniel …

[Review] Learn to Code by Solving Problems – by Prof. Daniel Zingaro Read More »

[Google Interview] How To Find The Majority Element In An Array?

Company Tags: Google, Amazon, Yahoo, Microsoft This is one of the Google interview questions and one of the most commonly asked questions during many interviews. So, can you give the optimal solution to this problem? Problem Formulation Given an array nums of size n, the task is to return the majority element. The majority element is …

[Google Interview] How To Find The Majority Element In An Array? Read More »

[Google Interview] The Gas Station Problem

🏗️ Company Tags: Google, Facebook, Amazon Are you gearing up for your coding interview? If your answer is yes, then here’s a very interesting interview question for you. Numerous programmers have claimed that they came across this interview question. Hence, there is a high probability that you might come across it as well in your interview. Will you be able …

[Google Interview] The Gas Station Problem Read More »