Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
DestinationFAANG
/
Destination-FAANG-Java-Solution
Public
Notifications
You must be signed in to change notification settings
Fork
315
Star
944
Code
Issues
2
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
main
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
193 Commits
193 Commits
10 Regular Expression Matching
10 Regular Expression Matching
100 Same Tree
100 Same Tree
101 Symmetric Tree
101 Symmetric Tree
102 Binary Tree Level Order Traversal
102 Binary Tree Level Order Traversal
103 Binary Tree Zigzag Level Order Traversal
103 Binary Tree Zigzag Level Order Traversal
104 Maximum Depth of Binary Tree
104 Maximum Depth of Binary Tree
1046 Last Stone Weight
1046 Last Stone Weight
1086 High Five
1086 High Five
11 container with most water
11 container with most water
110 Balanced Binary Tree
110 Balanced Binary Tree
114 Flatten Binary Tree to Linked List
114 Flatten Binary Tree to Linked List
1143 Longest Common Subsequence
1143 Longest Common Subsequence
115 Distinct Subsequences
115 Distinct Subsequences
1174 Longest Common Subsequence
1174 Longest Common Subsequence
118 Pascal's Triangle
118 Pascal's Triangle
121 best time to buy and sell stocks
121 best time to buy and sell stocks
124 Binary Tree Maximum Path Sum
124 Binary Tree Maximum Path Sum
1249 Minimum Remove to Make Valid Parentheses
1249 Minimum Remove to Make Valid Parentheses
125 Valid Palindrome
125 Valid Palindrome
127 Word Ladder
127 Word Ladder
1272 Remove Interval
1272 Remove Interval
128 Longest Consecutive Sequence
128 Longest Consecutive Sequence
13 Roman to Integer
13 Roman to Integer
130 Surrounded Regions
130 Surrounded Regions
131 Palindrome Partitioning
131 Palindrome Partitioning
133 Clone Graph
133 Clone Graph
134 Gas Station
134 Gas Station
136 Single Number
136 Single Number
138 Copy List with Random Pointer
138 Copy List with Random Pointer
139 Word break
139 Word break
14 Longest Common Prefix
14 Longest Common Prefix
141 Linked List Cycle
141 Linked List Cycle
143 Reorder List
143 Reorder List
1448 Count Good Nodes in Binary Tree
1448 Count Good Nodes in Binary Tree
146 LRU Cache
146 LRU Cache
148 Sort List
148 Sort List
15 3sum
15 3sum
150 Evaluate Reverse Polish Notation
150 Evaluate Reverse Polish Notation
152 Maximum product SubArray
152 Maximum product SubArray
153 minimum in rotated sorted array
153 minimum in rotated sorted array
155 Min Stack
155 Min Stack
1584 Min Cost to Connect All Points
1584 Min Cost to Connect All Points
1584 network delay time
1584 network delay time
167 two sum 2
167 two sum 2
169 Majority Element
169 Majority Element
179 Largest Number
179 Largest Number
1851 Minimum Interval to Include Each Query
1851 Minimum Interval to Include Each Query
1899 Merge Triplets to Form Target Triplet
1899 Merge Triplets to Form Target Triplet
19 Remove Nth Node From End of List
19 Remove Nth Node From End of List
190 Reverse bits
190 Reverse bits
191 number of 1s bit
191 number of 1s bit
198 house robber
198 house robber
199 Binary Tree Right Side View
199 Binary Tree Right Side View
2 Add Two Numbers
2 Add Two Numbers
20 Valid Parentheses
20 Valid Parentheses
200 Number of Islands
200 Number of Islands
2013 Detect Squares
2013 Detect Squares
202 Happy Number
202 Happy Number
206 Reverse Linked List
206 Reverse Linked List
207 Course Schedule
207 Course Schedule
208 Implement Trie (Prefix Tree)
208 Implement Trie (Prefix Tree)
21 Merge Two Sorted Lists
21 Merge Two Sorted Lists
210 Course Schedule II
210 Course Schedule II
211 Design Add and Search Words Data Structure
211 Design Add and Search Words Data Structure
212 Word Search II
212 Word Search II
213 house robber 2
213 house robber 2
215 Kth Largest Element in an Array
215 Kth Largest Element in an Array
217 Contains Duplicate
217 Contains Duplicate
22 Generate Parentheses
22 Generate Parentheses
226 Invert Binary Tree
226 Invert Binary Tree
23 Merge K Sorted Lists
23 Merge K Sorted Lists
232 Implement Queue using Stacks
232 Implement Queue using Stacks
234 Palindrome Linked List
234 Palindrome Linked List
235 Lowest Common Ancestor of a Binary Search Tree
235 Lowest Common Ancestor of a Binary Search Tree
238 product of array except self
238 product of array except self
239 Sliding Window Maximum
239 Sliding Window Maximum
242 Valid Anagram
242 Valid Anagram
25 Reverse Nodes in k-Group
25 Reverse Nodes in k-Group
252 Meeting Rooms
252 Meeting Rooms
253 Meeting Rooms 2
253 Meeting Rooms 2
261 Graph Valid tree
261 Graph Valid tree
268 Missing number
268 Missing number
269 Alien Dictionary
269 Alien Dictionary
271 Encode and Decode Strings
271 Encode and Decode Strings
277 Find the Celebrity
277 Find the Celebrity
286 Walls and gates
286 Walls and gates
287 Find the Duplicate Number
287 Find the Duplicate Number
289 Game of Life
289 Game of Life
295 Find Median from Data Stream
295 Find Median from Data Stream
297 Serialize and Deserialize Binary Tree
297 Serialize and Deserialize Binary Tree
3 Longest Substring Without Repeating Characters
3 Longest Substring Without Repeating Characters
300 longest increasing subsequence- part 2
300 longest increasing subsequence- part 2
300 longest increasing subsequence
300 longest increasing subsequence
309 Best Time to Buy and Sell Stock with Cooldown
309 Best Time to Buy and Sell Stock with Cooldown
31 Next Permutation
31 Next Permutation
312 Burst Balloons
312 Burst Balloons
32 Longest Valid Parentheses
32 Longest Valid Parentheses
322 coin change
322 coin change
323 Number of Connected Components in an Undirected Graph
323 Number of Connected Components in an Undirected Graph
329 Longest Increasing Path in a Matrix
329 Longest Increasing Path in a Matrix
View all files
About
Java solution for most popular Leetcode questions
Activity
Stars
944
stars
Watchers
18
watching
Forks
315
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.