## [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 … Read more

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

[toc] 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 … 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 … Read more

## [Google Interview] The Two Sum Problem

[toc] ?οΈ Company Tags: Google, Facebook, Amazon Are you gearing up for your coding interview? If your answer is yes, then here’s a very important and commonly asked 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 … Read more

## [Interview Question] Reverse A Linked List

[toc] ?οΈ Company Tags: As reported by numerous programmers across the globe, this question has been asked in coding interviews/rounds by companies like- Amazon Accolite Adobe Cisco Cognizant Goldman Sachs VMWare So, if you are preparing for your upcoming coding interview, then you might well come across this question in your coding round. Can you … Read more

## [Google Interview] Rotate Matrix

[toc] ?οΈ Asked in: Google, Facebook, Amazon Are you terrified of being asked this question in an interview? Don’t worry! You are not alone. Many people found it intimidating. Unfortunately, the probability of seeing it at least once is quite high if you are undergoing a lot of interviews. Many interviewee’s have claimed that they … Read more

## [Google Interview] Find All Numbers That Disappeared in an Array

[toc] ?οΈ Company Tags: Google Problem Formulation Given an array nums of n integers. Return an array containing all the integers in the range[1, n]that do not appear in nums. βοΈ Here, nums[i] is in the range [1, n]. β οΈConstraints: n == nums.length 1 <= n <= 105 1 <= nums[i] <= n ?Examples Letβs have a look at some … Read more

## [Interview Question] Longest Substring Without Repeating Characters

[toc] ?οΈ Company Tags: As reported by numerous programmers across the globe, this question has been asked in coding interviews/rounds by companies like: Amazon Adobe Bloomberg Yelp So, if you are preparing for your upcoming coding interview, then you might well come across this question in your coding round. Can you solve it optimally? Problem … Read more

## [Google Interview] Find the k Closest Numbers in a Sorted Array

[toc] ? This is one of the Google interview questions and reported by programmers across the globe as one of the commonly asked questions during interviews. So, can you give the optimal solution to this problem? Problem Formulation Given an integer array or Python list nums, an integer value x and k. Find and return … Read more

## [Google Interview] Find the k-th Largest Element in an Unsorted Array

Do you train for your upcoming coding interview? This question was asked by Google as reported in multiple occasions by programmers all around the world. Can you solve it optimally? Let’s dive into the problem first. Problem Formulation Given an integer array or Python list nums and an integer value k. Find and return the … Read more