
Explore popular algorithms coding interview questions by learning to solve them on a whiteboard, starting with a brute-force approach and progressively optimizing to an efficient solution.
Learn to maximize profit with multiple stock transactions by capturing every upward price move and selling, accumulating gains in linear time with constant space.
Detect duplicates in an integer array, sorted or unsorted. Use a hash set to check each element for O(n) time and O(n) space, returning true on duplicates and false otherwise.
Learn to search a rotated sorted array with a modified binary search using left, right, and middle pointers to identify sorted portion and return index or -1 in log time.
Learn to solve the maximum contiguous subarray sum with the cadence algorithm by tracking current and maximum sums as you scan the array, a dynamic programming approach with constant space.
This lecture demonstrates solving the longest increasing subsequence problem with dynamic programming, building a dp table to compute the length in a quadratic time, linear space approach.
Solve the gas station circle problem on a clockwise route by comparing total gas and total cost, then identify a starting station using a running difference and current sum.
Learn to solve the product of array except self without division by building prefix and suffix products, then optimize to constant extra space while maintaining linear time.
Learn to reverse a linked list iteratively using three pointers, updating links to produce the head of the reversed list and noting time and space complexity.
Reverse a linked list recursively, traversing to the last node, using the call stack to reconnect links, and returning the new head. Explore the recursion's time and space implications.
Welcome to "Popular Algorithms Coding Interview Questions" Course!
This course is intended for beginners to advanced learners who are preparing for their software engineer programming interviews. If you're nervous about your first coding interview, or anxious about applying to your next job, this is the course for you. I got tired of interviewers asking coding questions that can only be answered if you've seen the problem before, so I made this course. This video course will teach you the most common interview questions that you'll see in a coding interview, giving you the tools you need to ace your next whiteboard interview. I work through on whiteboard and I explained the intuition behind each coding problems so you can understand the solution.
I know, coding interviews are notoriously intimidating, but there is one method in order to perform well and that is practice. This course is going to not only give you coding interview questions to practice on, but it will also make sure that you understand the intuition behind solving each problem, so you’ll be able to perform well in a real interview. We discuss everything from the easy algorithm questions all the way to the hard algorithm questions.
If you think you’re ready for this course, watch the preview videos and see if you can solve those problems!
See you inside!