Software Learning
SUMMARY
Initializing search
GitHub
Home
LeetCode Algorithms
SWE Interview
System Design
Real Interview Questions
Software Learning
GitHub
Home
LeetCode Algorithms
LeetCode Algorithms
Easy
Easy
100. Same Tree
101. Symmetric Tree
136. Single Number
145. Binary Tree Postorder Traversal
15546 Min Stack
15546 Min Stack
hashmap
21946 Contains Duplicate II
21946 Contains Duplicate II
hashmap
slidingwindow
222. Count Complete Tree Nodes
350. Intersection of Two Arrays II
495. Teemo Attacking
590. N ary Tree Postorder Traversal
594. Longest Harmonious Subsequence
628. Maximum Product of Three Numbers
860. Lemonade Change
884. Uncommon Words from Two Sentences
1021. Remove Outermost Parentheses
1189. Maximum Number of Balloons
1260. Shift 2D Grid
1331. Rank Transform of an Array
1399. Count Largest Group
1455. Check If A Word Occurs As A Prefix Of Any Word In A Sentence
1464. Maximum Product of Two Elements in an Array
1475. Final Prices With A Special Discount In A Shop
1486. XOR Operation in an Array
1518. Water Bottles
1539. Kth Missing Positive Number
1550. Three Consecutive Odds
159846 Crawler Log Folder
159846 Crawler Log Folder
cpp
1636. Sort Array By Increasing Frequency
1684. Count The Number Of Consistent Strings
1945. Sum of Digits of String After Convert
1967. Number of Strings That Appear as Substrings in Word
1979. Find Greatest Common Divisor of Array
2022. Convert 1D Array Into 2D Array
2053. Kth Distinct String in an Array
2191. Sort the Jumbled Numbers
2418. Sort the People
2558. Take Gifts From The Richest Pile
258246 Passing The Pillow
258246 Passing The Pillow
rust
2696. Minimum String Length After Removing Substrings
2996. Smallest Missing Integer Greater Than Sequential Prefix Sum
3069. Distribute Elements Into Two Arrays I
3090. Maximum Length Substring With Two Occurrences
3216. Lexicographically Smallest String After a Swap
3314. Construct the Minimum Bitwise Array I
3375. Minimum Operations to Make Array Values Equal to k
3471. Find the Largest Almost Missing Integer
3536. Maximum Product of Two Digits
3622. Check Divisibility by Digit Sum and Product
3637. Trionic Array I
3658. GCD of Odd and Even Sums
3731. Find Missing Elements
3754. Concatenate Non Zero Digits and Multiply by Sum I
Medium
Medium
33. Search in rotated sorted array
40. Combination Sum II
63. Unique Paths II
81. Search In Rotated Sorted Array
122-Best-Time-to-Buy-and-Sell-Stock-II. 122 Best Time to Buy and Sell Stock II
128. Longest Consecutive Sequence
155. Min Stack
179. Largest number
208. Implement trie (prefix tree)
209. Minimum Size Subarray Sum
238. Product of Array Except Self
241. Different Ways to Add Parentheses
264. Ugly Number II
30046 Longest Increasing Subsequence
30046 Longest Increasing Subsequence
bottomup
greedy-patience-sort
topdown
307. Range sum query Mutable
486. Predict the Winner
539. Minimum Time Difference
567. Permutation in String
624. Maximum Distance in Arrays
654. Maximum Binary Tree
725. Split Linked List in Parts
729. My Calendar I
739. Daily Temperatures
763. Partition Labels
790. Domino and Tromino Tiling
807. Max Increase to Keep City Skyline
826. Most Profit Assigning Work
840. Magic Squares In Grid
853. Car Fleet
874. Walking Robot Simulation
875. KoKo Eating Bananas
877. Stone Game
885. Spiral Matrix III
921. Minimum Add To Make Parentheses Valid
947. Most Stones Removed with Same Row or Column
959. Regions Cut By Slashes
981. Time Based Key Value Store
1014. Best Sightseeing Pair
1038. Binary Search Tree to Greater Sum Tree
1052. Grumpy Bookstore Owner
1081. Smallest Subsequence of Distinct Characters
1110. Delete Nodes And Return Forest
1140. Stone Game II
1190. Reverse Substrings Between Each Pair Of Parentheses
1261. Find Elements in a Contaminated Binary Tree
1288. Remove Covered Intervals
1291. Sequential Digits
1310. XOR Queries of a Subarray
1371. Find the Longest Substring Containing Vowels in Even Counts
1382. Balance A Binary Search Tree
1386. Cinema Seat Allocation
1395. Count Number of Teams
1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
1482. Minimum number of days to make m bouquets
1497. Check If Array Pairs Are Divisible by k
1530. Number of Good Leaf Nodes Pairs
1552. Magnetic Force Between Two Balls
1593. Split a String Into the Max Number of Unique Substrings
1605. Find Valid Matrix Given Row and Column Sums
1653. Minimum Deletions to Make String Balanced
1701. Average Waiting Time
1717. Maximum Score From Removing Substrings
1760. Minimum Limit Of Balls In A Bag
1823. Find The Winner Of The Circular Game
1833. Maximum Ice Cream Bars
1846. Maximum Element After Decreasing and Rearranging
1894. Find the Student that Will Replace the Chalk
190546 Count Sub Islands
190546 Count Sub Islands
cpp
go
java
1922. Count Good Numbers
1927. Sum Game
1942. The Number of the Smallest Unoccupied Chair
1963. Minimum Number of Swaps to Make the String Balanced
1975. Maxium Matrix Sum
2028. Find Missing Observations
2058. Find the Minimum and Maximum Number of Nodes Between Critical Points
2070. Most Beautiful Item for Each Query
209646 Step By Step Directions From A Binary Tree Node To Another
209646 Step By Step Directions From A Binary Tree Node To Another
go
2109. Adding Spaces To A String
2161. Partition Array According to Given Pivot
2181. Merge Nodes in Between Zeros
2182. Construct string with repeat limit
2192. All Ancestor of a Node in a Directed Acyclic Graph
219646 Create Binary Tree From Descriptions
219646 Create Binary Tree From Descriptions
cpp
go
java
rust
2226. Maximum candies allocate to K children
2270. Number Of Ways To Split Array
2285. Maximum Total Importance of Roads
2326. Spiral Matrix IV
2337. Move Pieces to Obtain a String
2419. Longest Subarray With Maximum Bitwise AND
2461. Maximum Sum of Distinct Subarrays With Length K
2491. Divide Players Into Teams of Equal Skill
2492. Minimum Score of a Path Between Two Cities
2501. Longest Square Streak in an Array
2583. Kth Largest Sum in a Binary Tree
2601. Prime Subtraction Operation
2685. Count the Number of Complete Components
2707. Extra Characters In A String
2779. Maximum Beauty Of An Array After Applying Operation
2825. Make String a Subsequence Using Cyclic Increments
2924. Find Champion II
2958. Length of Longest Subarray With at Most K Frequency
3016. Minimum Number of Pushes to Type Word II
3020. Find the Maximum Number of Elements in Subset
3043. Find the Length of the Longest Common Prefix
3097. Shortest Subarray With OR at Least K II
3217. Delete Nodes From Linked List Present in Array
3218. Minimum Cost for Cutting Cake I
3254. Find the Power of K Size Subarrays I
3286. Find a Safe Walk Through a Grid
3310. Remove Methods From Project
3499. Maximize Active Section with Trade I
3513. Number of Unique XOR Triplets I
3514. Number of Unique XOR Triplets II
3517. Smallest Palindromic Rearrangement I
3532. Path Existence Queries in a Graph I
3702. Longest Subsequence With Non Zero Bitwise XOR
3756. Concatenate Non Zero Digits and Multiply by Sum II
3867. Sum of GCD of Formed Pairs
Hard
Hard
11. Container With Most Water
23. Merge k Sorted Lists
37. Sudoku Solver
41. First Missing Positive
188. Best Time to Buy and Sell Stock IV
212. Word Search II
214. Shortest Palindrome
239. Sliding Window Maximum
295. Find Median from Data Stream
502. IPO
664. Strange Printer
719. Find K th Smallest Pair Distance
726. Number of Atoms
773. Sliding Puzzle
862. Shortest Subarray with Sum at Least K
995. Minimum Number of K Consecutive Bit Flips
1106. Parsing A Boolean Expression
1301. Number of Paths with Max Score
1510. Stone Game IV
1579. Remove Max Number of Edges to Keep Graph Fully Traversable
1872. Stone Game VIII
2071. Maximum Number of Tasks You Can Assign
2302. Count Subarrays With Score Less Than K
2392. Build a Matrix With Conditions
2416. Sum of Prefix Scores of Strings
2503. Maximum Number of Points From Grid Queries
2551. Put Marbles in Bags
2751. Robot Collisions
3219. Minimum Cost for Cutting Cake II
3336. Find the Number of Subsequences With Equal GCD
3363. Find the Maximum Number of Fruits Collected
3534. Path Existence Queries in a Graph II
3620. Network Recovery Pathways
3739. Count Subarrays With Majority Element II
SWE Interview
SWE Interview
In Java We Trust
In Java We Trust
Java Core
Java Core
Concurrency
Collection
Basic
Memory Management
Spring Java
Spring Java
Transaction
Microservice
SOLID
Monads
Kafka
Behavioral
SQL
Hibernate
Pattern
TDD vs BDD vs DDD
Redis
System Design
System Design
Chapter 1: Scale from Zero to Millions of Users
Chapter 2: Back-of-the-Envelope Estimation
Chapter 3: A Framework for System Design Interviews
Chapter 4: Design a Rate Limiter
Chapter 5: Design Consistent Hashing
Chapter 6: Design a Key-Value Store
Chapter 7: Design a Unique ID Generator in Distributed Systems
Chapter 8: Design a URL Shortener
Chapter 9: Design a Web Crawler
Chapter 10: Design a Notification System
Chapter 11: Design a News Feed System
Chapter 12: Design a Chat System
Chapter 13: Design a Search Autocomplete System
Chapter 14: Design YouTube
Chapter 15: Design Google Drive
Chapter 16: Proximity Service
Chapter 17: Nearby Friends
Chapter 18: Google Maps
Chapter 19: Distributed Message Queue
Chapter 20: Metrics Monitoring and Alerting System
Chapter 21: Ad Click Event Aggregation
Chapter 22: Hotel Reservation System
Chapter 23: Distributed Email Service
Chapter 24: S3-like Object Storage
Chapter 25: Real-time Gaming Leaderboard
Chapter 26: Payment System
Chapter 27: Digital Wallet
Chapter 28: Stock Exchange
Real Interview Questions
Real Interview Questions
Companies
Companies
SUMMARY
Real Interview Questions
Companies
Overview
Back to top