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
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
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 }}
jaiswalprabhakar
/
Leetcode_editorial
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
47 Commits
47 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.vscode
.vscode
14-longest-common-prefix
14-longest-common-prefix
27-remove-element
27-remove-element
3Sum Closest
3Sum Closest
3Sum Smaller
3Sum Smaller
3Sum
3Sum
4Sum II
4Sum II
4Sum
4Sum
Add Two Numbers
Add Two Numbers
All Paths from Source to Target
All Paths from Source to Target
Aman
Aman
Apply discount every n orders
Apply discount every n orders
Balanced Binary Tree
Balanced Binary Tree
Binary Tree Tilt
Binary Tree Tilt
Binary tree paths
Binary tree paths
Chalo_mobility
Chalo_mobility
Check if word equals summation of two words
Check if word equals summation of two words
Container with most water
Container with most water
Count Number of Pairs with Absolute Difference K
Count Number of Pairs with Absolute Difference K
Count good triplets
Count good triplets
Count pairs with given sum
Count pairs with given sum
Cracking the safe
Cracking the safe
Delete Nodes and return forest
Delete Nodes and return forest
Delete node in a linked list
Delete node in a linked list
Find if Path Exist in Graph
Find if Path Exist in Graph
Find words that can be formed by characters
Find words that can be formed by characters
Flatten a Multilevel Doubly Linked list
Flatten a Multilevel Doubly Linked list
Flood fill
Flood fill
Foobar
Foobar
Hamiltonian Path
Hamiltonian Path
INFOSYS_test
INFOSYS_test
Increasing order search tree
Increasing order search tree
Integer_to_roman
Integer_to_roman
Intersection of two Linked Lists
Intersection of two Linked Lists
Interval list Intersection
Interval list Intersection
K Sum - Target Sum Unique set
K Sum - Target Sum Unique set
K-diff Pairs in an Array
K-diff Pairs in an Array
LFU Cache
LFU Cache
Largest Distance between nodes of a tree
Largest Distance between nodes of a tree
Letter combination of a phone number
Letter combination of a phone number
Lexicographical Numbers
Lexicographical Numbers
Linked List Components
Linked List Components
Linked list Cycle II
Linked list Cycle II
Linked list Cycle
Linked list Cycle
Maximum Score words formed by letters
Maximum Score words formed by letters
Maximum depth of N-ary Tree
Maximum depth of N-ary Tree
Maximum width of binary tree
Maximum width of binary tree
Merge two sorted list
Merge two sorted list
Minimize malware Spread
Minimize malware Spread
Minimum Depth of binary tree
Minimum Depth of binary tree
Number of Operation to make Network Connected
Number of Operation to make Network Connected
Odd Even Linked list
Odd Even Linked list
Pacific Atlantic Water flow
Pacific Atlantic Water flow
Palindrome Linked list
Palindrome Linked list
Pancake Sorting
Pancake Sorting
Partition List
Partition List
Quantafield
Quantafield
Queens that can attack the king
Queens that can attack the king
Queries on Number of Points Inside a Circle
Queries on Number of Points Inside a Circle
Reconstruct Itineary
Reconstruct Itineary
Recursion
Recursion
Remove Nth node from end of list
Remove Nth node from end of list
Remove duplicates from Sorted list II
Remove duplicates from Sorted list II
Restore IP Addresses
Restore IP Addresses
Reverse Nodes in k-group
Reverse Nodes in k-group
Rotate List
Rotate List
Search_algo
Search_algo
Target sum pairs I
Target sum pairs I
Test_case_correction
Test_case_correction
Trapping Rain water
Trapping Rain water
Tuple with same Product
Tuple with same Product
Two Sum - Difference equals to target
Two Sum - Difference equals to target
Two Sum - Greater than target
Two Sum - Greater than target
Two Sum - less than or equal to target
Two Sum - less than or equal to target
Two Sum -Closest
Two Sum -Closest
Two Sum -Design
Two Sum -Design
Two Sum -Sorted IB
Two Sum -Sorted IB
Two Sum -Unique pairs
Two Sum -Unique pairs
Two Sum -Unsorted
Two Sum -Unsorted
Valid traingle Number
Valid traingle Number
Verbal Arithmetic Puzzle
Verbal Arithmetic Puzzle
mpmc_lab
mpmc_lab
View all files
About
Leetcode problem solution with explanation and 2 approach 1>Brute force 2>Optimized with test cases.
Topics
algorithms
cpp
leetcode
leetcode-cpp
leetcode-problems
leetcode-python-solutions
leetcode-questions
leetcode-solutions
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.