Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
mohith10
leet-code-cp
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
leet-code-cp
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
0
(
0
)
You must be signed in to star a repository
About
No description, website, or topics provided.
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
231 Commits
231 Commits
Folders and files
Name
Name
Last commit message
Last commit date
3 Sum : Find triplets that add up to a zero.cpp
3 Sum : Find triplets that add up to a zero.cpp
4 Sum | Find Quads that add up to a target value.cpp
4 Sum | Find Quads that add up to a target value.cpp
Activity Selection (it is the same as N meeting in one room).cpp
Activity Selection (it is the same as N meeting in one room).cpp
Allocate Minimum Number of Pages.cpp
Allocate Minimum Number of Pages.cpp
Area of largest rectangle in Histogram.cpp
Area of largest rectangle in Histogram.cpp
BS-Array Rotation.cpp
BS-Array Rotation.cpp
BS-Ciel ofa num.cpp
BS-Ciel ofa num.cpp
BS-Find ele in Bitonic Array.cpp
BS-Find ele in Bitonic Array.cpp
BS-Find element in rotated array.cpp
BS-Find element in rotated array.cpp
BS-Floor of a num.cpp
BS-Floor of a num.cpp
BS-Index of first 1 in sorted binary array.cpp
BS-Index of first 1 in sorted binary array.cpp
BS-Median on two sorted arrays.cpp
BS-Median on two sorted arrays.cpp
BS-Min Pages allocation.cpp
BS-Min Pages allocation.cpp
BS-Nth root of a number.cpp
BS-Nth root of a number.cpp
BS-Peak Element.cpp
BS-Peak Element.cpp
BS-Search in 2D Matrix.cpp
BS-Search in 2D Matrix.cpp
BS-Search in nearly sorted array.cpp
BS-Search in nearly sorted array.cpp
BS-Single element in a sorted array.cpp
BS-Single element in a sorted array.cpp
BST-BST Iterator.cpp
BST-BST Iterator.cpp
BST-Crete BST from Preorder.cpp
BST-Crete BST from Preorder.cpp
Bipartite Check using DFS – If Graph is Bipartite.cpp
Bipartite Check using DFS – If Graph is Bipartite.cpp
Bottom view of a Binary Tree.cpp
Bottom view of a Binary Tree.cpp
Breadth-First Search(BFS) : Level Order Traversal.cpp
Breadth-First Search(BFS) : Level Order Traversal.cpp
CTC-Array-String Rotation.cpp
CTC-Array-String Rotation.cpp
CTCI - Linked List - Sum of Linked List.cpp
CTCI - Linked List - Sum of Linked List.cpp
CTCI - Tree- Random Node.cpp
CTCI - Tree- Random Node.cpp
CTCI-Array-Check permutation of a string check
CTCI-Array-Check permutation of a string check
CTCI-Array-Compress String.cpp
CTCI-Array-Compress String.cpp
CTCI-Array-Matrix Rotation.cpp
CTCI-Array-Matrix Rotation.cpp
CTCI-Array-OneAway.cpp
CTCI-Array-OneAway.cpp
CTCI-Array-Pallindromic Permutation.cpp
CTCI-Array-Pallindromic Permutation.cpp
CTCI-Array-URLify.cpp
CTCI-Array-URLify.cpp
CTCI-Array-Zeroes Array.cpp
CTCI-Array-Zeroes Array.cpp
CTCI-Graph-Path existence DFS.cpp
CTCI-Graph-Path existence DFS.cpp
CTCI-Hard-Adding without addition operator.cpp
CTCI-Hard-Adding without addition operator.cpp
CTCI-Hard-Baby Names.cpp
CTCI-Hard-Baby Names.cpp
CTCI-Hard-Circus Tower.cpp
CTCI-Hard-Circus Tower.cpp
CTCI-Hard-Find the missing number.cpp
CTCI-Hard-Find the missing number.cpp
CTCI-Hard-Histogram Volume.cpp
CTCI-Hard-Histogram Volume.cpp
CTCI-Hard-Letters and Numbers.cpp
CTCI-Hard-Letters and Numbers.cpp
CTCI-Hard-Majority Element.cpp
CTCI-Hard-Majority Element.cpp
CTCI-Hard-Missing Number.cpp
CTCI-Hard-Missing Number.cpp
CTCI-Linked List - Intersection of the list.cpp
CTCI-Linked List - Intersection of the list.cpp
CTCI-Linked List - Kth Element from last.cpp
CTCI-Linked List - Kth Element from last.cpp
CTCI-Linked List- Delete duplicate.cpp
CTCI-Linked List- Delete duplicate.cpp
CTCI-Linked List- Partition List Optimised.cpp
CTCI-Linked List- Partition List Optimised.cpp
CTCI-Linked List- Partition List.cpp
CTCI-Linked List- Partition List.cpp
CTCI-Linked List- Sum List v2.0.cpp
CTCI-Linked List- Sum List v2.0.cpp
CTCI-Linked List-Loop Detection.cpp
CTCI-Linked List-Loop Detection.cpp
CTCI-Linked List-Pallindrome Check.cpp
CTCI-Linked List-Pallindrome Check.cpp
CTCI-Moderate-Difference Sum.cpp
CTCI-Moderate-Difference Sum.cpp
CTCI-Moderate-Diving Board Length.cpp
CTCI-Moderate-Diving Board Length.cpp
CTCI-Moderate-Expression Evaluation.cpp
CTCI-Moderate-Expression Evaluation.cpp
CTCI-Moderate-Inplace swap.cpp
CTCI-Moderate-Inplace swap.cpp
CTCI-Moderate-Line Intersection.cpp
CTCI-Moderate-Line Intersection.cpp
CTCI-Moderate-Master Mind.cpp
CTCI-Moderate-Master Mind.cpp
CTCI-Moderate-Max Sum.cpp
CTCI-Moderate-Max Sum.cpp
CTCI-Moderate-Smallest Difference.cpp
CTCI-Moderate-Smallest Difference.cpp
CTCI-Moderate-Sum equals K.cpp
CTCI-Moderate-Sum equals K.cpp
CTCI-Moderate-T9.cpp
CTCI-Moderate-T9.cpp
CTCI-Moderate-Word Frequency.cpp
CTCI-Moderate-Word Frequency.cpp
CTCI-Recursion and DP - Triple Jump.cpp
CTCI-Recursion and DP - Triple Jump.cpp
CTCI-Recursion and DP-Paranthesis.cpp
CTCI-Recursion and DP-Paranthesis.cpp
CTCI-Searching and Sortiing-Group Anagrams.cpp
CTCI-Searching and Sortiing-Group Anagrams.cpp
CTCI-Searching and Sorting-Find in rotated array.cpp
CTCI-Searching and Sorting-Find in rotated array.cpp
CTCI-Searching and Sorting-Rank from Stream.cpp
CTCI-Searching and Sorting-Rank from Stream.cpp
CTCI-Searching and Sorting-Search string of empty string.cpp
CTCI-Searching and Sorting-Search string of empty string.cpp
CTCI-Sorting and Searching-Merge Sorted Array.cpp
CTCI-Sorting and Searching-Merge Sorted Array.cpp
CTCI-Stack-Sort a stack.cpp
CTCI-Stack-Sort a stack.cpp
CTCI-Stack-getMinimum.cpp
CTCI-Stack-getMinimum.cpp
CTCI-Tree-BST Checker.cpp
CTCI-Tree-BST Checker.cpp
CTCI-Tree-Minimal Tree.cpp
CTCI-Tree-Minimal Tree.cpp
CTCI-Tree-Subtree check.cpp
CTCI-Tree-Subtree check.cpp
CTCI-Trees- LCA Binary Tree.cpp
CTCI-Trees- LCA Binary Tree.cpp
CTCI-Trees-Balanced Tree.cpp
CTCI-Trees-Balanced Tree.cpp
CTCI-Trees-Depth List.cpp
CTCI-Trees-Depth List.cpp
Calculate the Diameter of a Binary Tree.cpp
Calculate the Diameter of a Binary Tree.cpp
Check for Balanced Parentheses.cpp
Check for Balanced Parentheses.cpp
Check for Children Sum Property in a Binary Tree.cpp
Check for Children Sum Property in a Binary Tree.cpp
Check for Symmetrical Binary Tree.cpp
Check for Symmetrical Binary Tree.cpp
Check if the Binary Tree is Balanced Binary Tree.cpp
Check if the Binary Tree is Balanced Binary Tree.cpp
Combination Sum II – Find all unique combinations.cpp
Combination Sum II – Find all unique combinations.cpp
Combination Sum – 1.cpp
Combination Sum – 1.cpp
Construct A Binary Tree from Inorder and Preorder Traversal.cpp
Construct A Binary Tree from Inorder and Preorder Traversal.cpp
Count Maximum Consecutive One’s in the array.cpp
Count Maximum Consecutive One’s in the array.cpp
Count the number of subarrays with given xor K.cpp
Count the number of subarrays with given xor K.cpp
Cycle Detection in Undirected Graph using DFS.cpp
Cycle Detection in Undirected Graph using DFS.cpp
DO-Grid Unique Paths-MemoTab.cpp
DO-Grid Unique Paths-MemoTab.cpp
DP-Buy and Sell Stock II-TabMemo.cpp
DP-Buy and Sell Stock II-TabMemo.cpp
DP-Coin Change 2-MemoTab.cpp
DP-Coin Change 2-MemoTab.cpp
DP-Count partition with given Difference-Tab.cpp
DP-Count partition with given Difference-Tab.cpp
DP-Count subset sum - Tab.cpp
DP-Count subset sum - Tab.cpp
DP-Distinct Subsequences-TabMemo.cpp
DP-Distinct Subsequences-TabMemo.cpp
DP-Edit Distance-TabMemo.cpp
DP-Edit Distance-TabMemo.cpp
DP-Equal Sum Partition Problem-MemoTab.cpp
DP-Equal Sum Partition Problem-MemoTab.cpp
DP-Fibonacci Number.cpp
DP-Fibonacci Number.cpp
DP-Frog Jump with K Distance-Tab.cpp
DP-Frog Jump with K Distance-Tab.cpp
DP-Frog Jump-Memo.cpp
DP-Frog Jump-Memo.cpp
DP-Frog jump-Tab.cpp
DP-Frog jump-Tab.cpp
DP-HouseRobber II-Tab.cpp
DP-HouseRobber II-Tab.cpp
View all files
About
No description, website, or topics provided.
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.