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 }}
sanchi-singhal
Leetcode-Problems
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Leetcode-Problems
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
2
(
2
)
You must be signed in to star a repository
About
No description, website, or topics provided.
Activity
Stars
2
stars
Watchers
1
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
271 Commits
271 Commits
Folders and files
Name
Name
Last commit message
Last commit date
SQL
SQL
1. Two Sum
1. Two Sum
1046. Last Stone Weight
1046. Last Stone Weight
1047. Remove All Adjacent Duplicates In String
1047. Remove All Adjacent Duplicates In String
1051. Height Checker
1051. Height Checker
1078. Occurrences After Bigram
1078. Occurrences After Bigram
1089. Duplicate Zeros
1089. Duplicate Zeros
11. Container With Most Water
11. Container With Most Water
1108. Defanging an IP Address
1108. Defanging an IP Address
1122. Relative Sort Array
1122. Relative Sort Array
1137. N-th Tribonacci Number
1137. N-th Tribonacci Number
1160. Find Words That Can Be Formed by Characters
1160. Find Words That Can Be Formed by Characters
1190. Reverse Substrings Between Each Pair of Parentheses
1190. Reverse Substrings Between Each Pair of Parentheses
1200. Minimum Absolute Difference
1200. Minimum Absolute Difference
1207. Unique Number of Occurrences
1207. Unique Number of Occurrences
125. Valid Palindrome
125. Valid Palindrome
1275. Find Winner on a Tic Tac Toe Game
1275. Find Winner on a Tic Tac Toe Game
128. Longest Consecutive Sequence
128. Longest Consecutive Sequence
1281. Subtract the Product and Sum of Digits of an Integer
1281. Subtract the Product and Sum of Digits of an Integer
1287. Element Appearing More Than 25% In Sorted Array
1287. Element Appearing More Than 25% In Sorted Array
1290. Convert Binary Number in a Linked List to Integer
1290. Convert Binary Number in a Linked List to Integer
1299. Replace Elements with Greatest Element on Right Side
1299. Replace Elements with Greatest Element on Right Side
13. Roman to Integer
13. Roman to Integer
1304. Find N Unique Integers Sum up to Zero
1304. Find N Unique Integers Sum up to Zero
1313. Decompress Run-Length Encoded List
1313. Decompress Run-Length Encoded List
1317. Convert Integer to the Sum of Two No-Zero Integers
1317. Convert Integer to the Sum of Two No-Zero Integers
1323. Maximum 69 Number
1323. Maximum 69 Number
1346. Check If N and Its Double Exist
1346. Check If N and Its Double Exist
1351. Count Negative Numbers in a Sorted Matrix
1351. Count Negative Numbers in a Sorted Matrix
1356. Sort Integers by The Number of 1 Bits
1356. Sort Integers by The Number of 1 Bits
136. Single Number
136. Single Number
1365. How Many Numbers Are Smaller Than the Current Number
1365. How Many Numbers Are Smaller Than the Current Number
137. Single Number II
137. Single Number II
14. Longest Common Prefix
14. Longest Common Prefix
1408. String Matching in an Array
1408. String Matching in an Array
1431. Kids With the Greatest Number of Candies
1431. Kids With the Greatest Number of Candies
1450. Number of Students Doing Homework at a Given Time
1450. Number of Students Doing Homework at a Given Time
1455. Check If a Word Occurs As a Prefix of Any Word in a Sentence
1455. Check If a Word Occurs As a Prefix of Any Word in a Sentence
1460. Make Two Arrays Equal by Reversing Subarrays
1460. Make Two Arrays Equal by Reversing Subarrays
1464. Maximum Product of Two Elements in an Array
1464. Maximum Product of Two Elements in an Array
1470. Shuffle the Array
1470. Shuffle the Array
1475. Final Prices With a Special Discount in a Shop
1475. Final Prices With a Special Discount in a Shop
1480. Running Sum of 1d Array
1480. Running Sum of 1d Array
1486. XOR Operation in an Array
1486. XOR Operation in an Array
1491. Average Salary Excluding the Minimum and Maximum Salary
1491. Average Salary Excluding the Minimum and Maximum Salary
150. Evaluate Reverse Polish Notation
150. Evaluate Reverse Polish Notation
151. Reverse Words in a String
151. Reverse Words in a String
1512. Number of Good Pairs
1512. Number of Good Pairs
1523. Count Odd Numbers in an Interval Range
1523. Count Odd Numbers in an Interval Range
1528. Shuffle String
1528. Shuffle String
1534. Count Good Triplets
1534. Count Good Triplets
1539. Kth Missing Positive Number
1539. Kth Missing Positive Number
1544. Make The String Great
1544. Make The String Great
1550. Three Consecutive Odds
1550. Three Consecutive Odds
1572. Matrix Diagonal Sum
1572. Matrix Diagonal Sum
1619. Mean of Array After Removing Some Elements
1619. Mean of Array After Removing Some Elements
1662. Check If Two String Arrays are Equivalent
1662. Check If Two String Arrays are Equivalent
1672. Richest Customer Wealth
1672. Richest Customer Wealth
1678. Goal Parser Interpretation
1678. Goal Parser Interpretation
1684. Count the Number of Consistent Strings
1684. Count the Number of Consistent Strings
1688. Count of Matches in Tournament
1688. Count of Matches in Tournament
169. Majority Element
169. Majority Element
1732. Find the Highest Altitude
1732. Find the Highest Altitude
1748. Sum of Unique Elements
1748. Sum of Unique Elements
1768. Merge Strings Alternately
1768. Merge Strings Alternately
1773. Count Items Matching a Rule
1773. Count Items Matching a Rule
1791. Find Center of Star Graph
1791. Find Center of Star Graph
1796. Second Largest Digit in a String
1796. Second Largest Digit in a String
1812. Determine Color of a Chessboard Square
1812. Determine Color of a Chessboard Square
1816. Truncate Sentence
1816. Truncate Sentence
1822. Sign of the Product of an Array
1822. Sign of the Product of an Array
1832. Check if the Sentence Is Pangram
1832. Check if the Sentence Is Pangram
1844. Replace All Digits with Characters
1844. Replace All Digits with Characters
1859. Sorting the Sentence
1859. Sorting the Sentence
191. Number of 1 Bits
191. Number of 1 Bits
1913. Maximum Product Difference Between Two Pairs
1913. Maximum Product Difference Between Two Pairs
1920. Build Array from Permutation
1920. Build Array from Permutation
1925. Count Square Sum Triples
1925. Count Square Sum Triples
1929. Concatenation of Array
1929. Concatenation of Array
1935. Maximum Number of Words You Can Type
1935. Maximum Number of Words You Can Type
1941. Check if All Characters Have Equal Number of Occurrences
1941. Check if All Characters Have Equal Number of Occurrences
1952. Three Divisors
1952. Three Divisors
1967. Number of Strings That Appear as Substrings in Word
1967. Number of Strings That Appear as Substrings in Word
1979. Find Greatest Common Divisor of Array
1979. Find Greatest Common Divisor of Array
1991. Find the Middle Index in Array
1991. Find the Middle Index in Array
1995. Count Special Quadruplets
1995. Count Special Quadruplets
20. Valid Parentheses
20. Valid Parentheses
2000. Reverse Prefix of Word
2000. Reverse Prefix of Word
2006. Count Number of Pairs With Absolute Difference K
2006. Count Number of Pairs With Absolute Difference K
2011. Final Value of Variable After Performing Operations
2011. Final Value of Variable After Performing Operations
2032. Two Out of Three
2032. Two Out of Three
2053. Kth Distinct String in an Array
2053. Kth Distinct String in an Array
2057. Smallest Index With Equal Value
2057. Smallest Index With Equal Value
2068. Check Whether Two Strings are Almost Equivalent
2068. Check Whether Two Strings are Almost Equivalent
2085. Count Common Words With One Occurrence
2085. Count Common Words With One Occurrence
2089. Find Target Indices After Sorting Array
2089. Find Target Indices After Sorting Array
2108. Find First Palindromic String in the Array
2108. Find First Palindromic String in the Array
2114. Maximum Number of Words Found in Sentences
2114. Maximum Number of Words Found in Sentences
2119. A Number After a Double Reversal
2119. A Number After a Double Reversal
2124. Check if All A's Appears Before All B's
2124. Check if All A's Appears Before All B's
View all files
About
No description, website, or topics provided.
Activity
Stars
2
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
You can’t perform that action at this time.