Where to Go from HereFeedbackFor feedback, comments, and suggestions, please contact us at hello@designgurus.org
Other coursesHere are a few of other courses prepared by Design Gurus:
Grokking Dynamic Programming Patterns for Coding Interviews
Grokking the Object Oriented Design Interview
Longest Valid ParenthesesProblem StatementYou are given a string containing just the characters ‘(‘ and ‘)’. Your task is to find the length of the longest valid (well-formed) parentheses substring.
Example 1:
Input: "(())"
Expected Output: 4
Justification: The entire string is a valid...
Daily TemperaturesProblem StatementYou are given a list of daily temperatures. Your task is to return an answer array such that answer[i] is the number of days you would have to wait until a warmer temperature for each of the days. If there is no future day for which this is possible, put 0 inste...
Here's something encrypted, password is required to continue reading.
A Cheat SheetHere is a brief description of all the coding patterns discussed in this course:
1. Pattern: Two PointersDescription: This method uses two pointers to traverse an array or a list from different ends or directions.
Usage: It’s particularly useful for ordered data structures, where we ...
Design Gurus Educative.io
Kth Smallest NumberProblem StatementGiven an unsorted array of numbers, find Kth smallest number in it.
Please note that it is the Kth smallest number in the sorted order, not the Kth distinct element.
Example 1:
123Input: [1, 5, 12, 2, 11, 5], K = 3Output: 5Explanation:...
416. Partition Equal Subset Sum Design Gurus Educative.io
ATTENTION: 这些题目还没有看
Introduction to Multi-threaded PatternIn many algorithms, concurrency and thread safety are very important. With technical interviews in mind, we can easily apply these concepts to most coding problems and stand out fro...
416. Partition Equal Subset Sum Design Gurus Educative.io
ATTENTION: 这些题目还没有看
Introduction Prefix Sum PatternWhat is Prefix Sum?A prefix sum is the cumulative sum of elements in an array up to a certain index. It is a powerful tool for efficiently solving range sum queries and various subarray pr...
Here's something encrypted, password is required to continue reading.
Introduction to Union Find PatternUnion Find, also known as Disjoint Set Union (DSU), is a data structure that keeps track of a partition of a set into disjoint subsets (meaning no set overlaps with another). It provides two primary operations: find, which determines which subset a particular ele...