Introduction This is LeetCode's official curated list of Top classic interview questions to help you land your dream job. Our top interview questions are divided into the following series: 이것은 LeetCode의 공식 큐레이팅 된 Top 클래식 인터뷰 질문 목록입니다. 우리의 주요 인터뷰 질문은 다음 시리즈로 나뉩니다. Easy Collection Medium Collection Hard Collection to help you master Data Structure & Algorithms and improve your coding skills. 데이터 구..
Others Here are some other questions that do not fit in other categories. We recommend: Trapping Rain Water and The Skyline Problem. If you'd like more challenge, we highly recommend you to solve the last two problems: The Skyline Problem and Largest Rectangle in Histogram. Both problems are very fun to solve and can be solved with many different approaches. Queue Reconstruction by Height Trappi..
Math Most of the math questions asked in interviews do not require math knowledge beyond middle school level. We recommend Max Points on a Line. Largest Number Max Points on a Line leetcode.com/problems/largest-number/solution/ leetcode.com/problems/max-points-on-a-line/solution/
Design These problems may require you to implement a given interface of a class, and may involve using one or more data structures. These are great exercises to improve your data structure skills. We recommend: LRU Cache, Implement Trie (Prefix Tree) and Find Median from Data Stream. LRU Cache Implement Trie (Prefix Tree) Flatten Nested List Iterator Find Median from Data Stream Range Sum Query ..
Dynamic Programming Here are some classic Dynamic Programming interview questions. We recommend: Best Time to Buy and Sell Stock with Cooldown and Word Break. Burst Balloons is a great problem too, highly recommended for the more advanced level. Maximum Product Subarray Decode Ways Best Time to Buy and Sell Stock with Cooldown Perfect Squares Word Break Word Break II Burst Balloons leetcode.com/..
Sorting and Searching These problems deal with sorting or searching in a sorted structure. We recommend: Median of Two Sorted Arrays. Hands down one of the best interview questions. Wiggle Sort II Kth Smallest Element in a Sorted Matrix Median of Two Sorted Arrays leetcode.com/problems/wiggle-sort-ii/ leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/solution/ leetcode.com/problems/m..
Backtracking Here are some of the best backtracking interview questions. We recommend: Word Search II, Remove Invalid Parentheses and Regular Expression Matching. Palindrome Partitioning Word Search II Remove Invalid Parentheses Wildcard Matching Regular Expression Matching leetcode.com/problems/palindrome-partitioning/solution/ leetcode.com/problems/word-search-ii/solution/ leetcode.com/problem..
Trees and Graphs Tree is a special type of graphs, so the two usual techniques used to traverse a graph are also applicable to trees. We recommend: Word Ladder, Lowest Common Ancestor of a Binary Tree, Course Schedule, Longest Increasing Path in a Matrix and Alien Dictionary. Note that some of the tree problems can also be asked in n-ary tree format, so make sure you know what an n-ary tree is. ..
Linked List There are not a lot of difficult Linked List problems. However, these Linked List problems do require some thought. We recommend all of these problems, all of them are classic Linked List interview questions, especially Copy List with Random Pointers which may seem impossible to solve at first glance. Merge k Sorted Lists Sort List Copy List with Random Pointer leetcode.com/problems/..
Array and Strings Array and String type of questions were asked in interviews frequently. You will most likely encounter one during your interviews. We recommend: Product of Array Except Self, Spiral Matrix, First Missing Positive, Longest Substring with At Most K Distinct Characters, Sliding Window Maximum and Minimum Window Substring. The last three problems are a bit more challenging, so feel..
Introduction This is LeetCode's official curated list of Top classic interview questions to help you land your dream job. Our top interview questions are divided into the following series: Easy Collection Medium Collection Hard Collection to help you master Data Structure & Algorithms and improve your coding skills. Just like any other skills, coding interview is one area where you can greatly i..