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 free to skip those and revisit later if you're stuck.
Product of Array Except Self
Spiral Matrix
4Sum II
Container With Most Water
Game of Life
First Missing Positive
Longest Consecutive Sequence
Find the Duplicate Number
Longest Substring with At Most K Distinct Characters
Basic Calculator II [Challenging]
Sliding Window Maximum [Challenging]
Minimum Window Substring [Challenging]
leetcode.com/explore/interview/card/top-interview-questions-hard/116/array-and-strings/
leetcode.com/problems/product-of-array-except-self/solution/
leetcode.com/problems/spiral-matrix/solution/
leetcode.com/problems/4sum-ii/solution/
leetcode.com/problems/container-with-most-water/solution/
leetcode.com/problems/game-of-life/solution/
leetcode.com/problems/first-missing-positive/solution/
leetcode.com/problems/longest-consecutive-sequence/solution/
leetcode.com/problems/find-the-duplicate-number/solution/
leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters/solution/
leetcode.com/problems/basic-calculator-ii/solution/
leetcode.com/problems/sliding-window-maximum/solution/
leetcode.com/problems/minimum-window-substring/solution/
내 블로그 - 관리자 홈 전환 |
Q
Q
|
---|---|
새 글 쓰기 |
W
W
|
글 수정 (권한 있는 경우) |
E
E
|
---|---|
댓글 영역으로 이동 |
C
C
|
이 페이지의 URL 복사 |
S
S
|
---|---|
맨 위로 이동 |
T
T
|
티스토리 홈 이동 |
H
H
|
단축키 안내 |
Shift + /
⇧ + /
|
* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.