50 popular coding interview problems

Prepare for your coding interview with these 50 solved and explained popular coding problems

4.54 (289 reviews)
Udemy
platform
English
language
Software Engineering
category
instructor
4,692
students
8.5 hours
content
Apr 2022
last update
$84.99
regular price

What you will learn

How to solve coding interview problems

How to use recursion, dynamic programming, memoization, divide and conquer, backtracking...

How to solve problems related to various data structures

Description

Preparing for coding interviews? Competitive programming? Then this course will help you for sure: 50 well-chosen problems to increase your problem-solving skills!

Many algorithms concepts covered: dynamic programming, divide and conquer, memoization, backtracking...

And many data structures used: arrays, hashmaps, sets, trees, stacks...

And also, time and space complexity analysis is provided for every problem!


Problems covered:

1- Find pair that sums up to k

2- First repeating character

3- Remove duplicates

4- Find the duplicate

5- Tree depth first search

6- Maximum subarray

7- Reverse a binary tree

8- Longest substring without repeating characters

9- Reverse a linked list

10- Peak finding

11- Palindrome linked list

12- Longest possible palindrome

13- Get substring index

14- Tree breadth first search

15- Sort a linked list

16- Valid binary search tree

17- Minimum cost path in matrix

18- Balanced binary tree

19- Paths in matrix

20- Tree breadth first search II

21- Product of array except self

22- Jump to last index

23- Graph depth first search

24- Graph breadth first search

25- String subsequences

26- Valid brackets

27- Flatten a binary tree

28- Lowest common ancestor

29- Minimum in rotated sorted array

30- Add two linked lists

31- Ways to climb stairs

32- Subsets that sum up to k

33- Ways to decode

34- Remove node from binary search tree

35- Array permutations

36- Longest common subsequence

37- Longest consecutive sequence

38- Edit distance

39- Count sorted vowel strings

40- Smallest number after removing k digits

41- Merge intervals

42- Insert interval

43- Binary tree max sum

44- 0-1 Knapsack

45- Shortest palindrome

46- Coin change

47- Word search

48- N-queens

49- Word ladder

50- Longest increasing subsequence

Content

0- Introduction

Introduction

1- Find pair that sums up to k

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

2- First repeating character

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

3- Remove duplicates

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

4- Find the duplicate

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

5- Tree depth first search

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

6- Maximum subarray

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

7- Reverse binary tree

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

8- Longest substring without repeating characters

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

9- Reverse linked list

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

10- Peak finding

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

11- Palindrome linked list

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

12- Longest possible palindrome

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

13- Get substring index

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

14- Tree breadth first search

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

15- Sort linked list

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

16- Valid binary search tree

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

17- Minimum cost path in matrix

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

18- Balanced binary tree

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

19- Paths in matrix

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

20- Tree breadth first search II

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

21- Product of array except self

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

22- Jump to last index

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

23- Graph depth first search

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

24- Graph breadth first search

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

25- String subsequences

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

26- Valid brackets

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

27- Flatten binary tree

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

28- Lowest common ancestor

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

29- Minimum in rotated sorted array

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

30- Add two linked lists

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

31- Ways to climb stairs

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

32- Subsets that sum up to k

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

33- Ways to decode

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

34- Remove node from binary search tree

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

35- Array permutations

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

36- Longest common subsequence

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

37- Longest consecutive sequence

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

38- Edit distance

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

39- Longest common substring

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

40- Smallest number after removing k digits

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

41- Insert interval

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

42- Merge intervals

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

43- Maximum path sum

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

44- 0-1 Knapsack

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

45- Shortest palindrome

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

46- Coin change

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

47- Word search

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

48- N-queens

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

49- Word ladder

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

50- Longest increasing subsequence

Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code

Screenshots

50 popular coding interview problems - Screenshot_0150 popular coding interview problems - Screenshot_0250 popular coding interview problems - Screenshot_0350 popular coding interview problems - Screenshot_04

Reviews

Omar
November 21, 2022
The method of explanation is not good and brief and does not explain in detail why you are using some ready-made words and their effect on the code
Jose
October 8, 2022
He explains the solutions in a thorough and straight-forward way. His videos are very descriptive with images. His code solutions are clean and simple!
Rajesh
February 3, 2022
the logical explanation is amazing which includes some of the approaches we might think of as a beginner which looks like solution but not ( for example, sorting approach for the first repeating character problem). I expected more detailed space and time complexity explanation as video instead of just text..
Christian
January 24, 2022
As I see the solutions after doing the exercises, I keep appreciating how clever some solutions are. This is one nice approach to teaching algorithmic thinking.
JihyongOh
September 12, 2021
The quality of video is excellent and easy to understand due to visual explanations. In addition, contents are well organized including basic data structures and algorithm skills. It would be very helpful to prepare coding interviews.
Purusotaman
August 13, 2021
Thoroughly enjoying the visual representations and the concise explanations. The ability to code in multiple languages is an added plus.
Abhijeet
August 2, 2021
The content was amazing without a doubt. The hard work behind this course surely paid off. The visualization of call stacks and recursion trees were the most helpful in understanding how a solution works. The only reason I didn't give 5 stars is that the instructor didn't tell us how to remember all the different solutions to all the questions. Understanding a solution is of no good if we can't remember how to solve it in an interview.
Ярослав
June 18, 2021
Actually, I like the quality of all explanations, it is amazing. The problems are quite simple, but fundamental, so this course is really worth purchasing.
Danniam
January 31, 2021
This is a great course for visual learners. The illustrations are among the best I've ever seen. I've been able to understand problems that would usually take me hours to understand after watching the video a few times. Hardly any of the leetcode youtubers actually hand-simulate the problem; they'll just ramble and write some code and that's it. You can tell that he put a lot of time into making these videos
Alessandro
December 28, 2020
The course is very interesting and helpful. Videos with explanations are very accurate. It's perfect for improving your skills.
Lakshmi
October 17, 2020
I am finding the course super useful. I am glad I bought this course. Thank you very much! Very good selection of problems and explanations. I really like the visual explanation of the problem. It is also good that I can try out the problem before looking for the solution. I need not have to browse youtube and discussions in leetcode to understand the solution which is great Keep up the good work and thanks again!
Yashovardhan
September 27, 2020
Absolutely loved the course ,the visuals and the explanations were pretty great too.. All in all I got a lot to learn and learn many nee tricks and techniques toom

Coupons

DateDiscountStatus
8/21/202384% OFF
expired

Charts

Price

50 popular coding interview problems - Price chart

Rating

50 popular coding interview problems - Ratings chart

Enrollment distribution

50 popular coding interview problems - Distribution chart
3411244
udemy ID
8/11/2020
course created date
8/31/2020
course indexed date
Bot
course submited by