Problem Solving with Algorithms

반응형

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 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/

 

 

반응형
반응형

공유하기

facebook twitter kakaoTalk kakaostory naver band