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 }}
HunterMahmud
LeetCode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
LeetCode
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
1
(
1
)
You must be signed in to star a repository
About
All of my leetcode solution
leetcode.com/u/HunterMahmud/
Topics
c
cpp
problem-solving
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
140 Commits
140 Commits
Folders and files
Name
Name
Last commit message
Last commit date
JavaScript
JavaScript
Python
Python
database/
postgres
database/
postgres
1. Two Sum.cpp
1. Two Sum.cpp
1047. Remove All Adjacent Duplicates In String.cpp
1047. Remove All Adjacent Duplicates In String.cpp
1103. Distribute Candies to People.cpp
1103. Distribute Candies to People.cpp
1207. Unique Number of Occurrences.cpp
1207. Unique Number of Occurrences.cpp
1281. Subtract the Product and Sum of Digits of an Integer.cpp
1281. Subtract the Product and Sum of Digits of an Integer.cpp
13. Roman to Integer.cpp
13. Roman to Integer.cpp
130. Surrounded Regions.cpp
130. Surrounded Regions.cpp
1310. XOR Queries of a Subarray.cpp
1310. XOR Queries of a Subarray.cpp
1318. Minimum Flips to Make a OR b Equal to c.cpp
1318. Minimum Flips to Make a OR b Equal to c.cpp
1342. Number of Steps to Reduce a Number to Zero.cpp
1342. Number of Steps to Reduce a Number to Zero.cpp
136. Single Number.cpp
136. Single Number.cpp
137. Single Number II.cpp
137. Single Number II.cpp
14. Longest Common Prefix.cpp
14. Longest Common Prefix.cpp
1431. Kids With the Greatest Number of Candies.cpp
1431. Kids With the Greatest Number of Candies.cpp
1480. Running Sum of 1d Array.cpp
1480. Running Sum of 1d Array.cpp
1486. XOR Operation in an Array.cpp
1486. XOR Operation in an Array.cpp
1512. Number of Good Pairs.cpp
1512. Number of Good Pairs.cpp
1588. Sum of All Odd Length Subarrays.cpp
1588. Sum of All Odd Length Subarrays.cpp
1608. Special Array With X Elements Greater Than or Equal X.cpp
1608. Special Array With X Elements Greater Than or Equal X.cpp
167. Two Sum II - Input Array Is Sorted.cpp
167. Two Sum II - Input Array Is Sorted.cpp
1672. Richest Customer Wealth.cpp
1672. Richest Customer Wealth.cpp
1716. Calculate Money in Leetcode Bank.cpp
1716. Calculate Money in Leetcode Bank.cpp
1720. Decode XORed Array.cpp
1720. Decode XORed Array.cpp
1768. Merge Strings Alternately.cpp
1768. Merge Strings Alternately.cpp
1790. Check if One String Swap Can Make Strings Equal.cpp
1790. Check if One String Swap Can Make Strings Equal.cpp
190. Reverse Bits.cpp
190. Reverse Bits.cpp
191. Number of 1 Bits.cpp
191. Number of 1 Bits.cpp
1945. Sum of Digits of String After Convert.cpp
1945. Sum of Digits of String After Convert.cpp
1952. Three Divisors.cpp
1952. Three Divisors.cpp
1979. Find Greatest Common Divisor of Array.cpp
1979. Find Greatest Common Divisor of Array.cpp
20. Valid Parentheses.cpp
20. Valid Parentheses.cpp
2006. Count Number of Pairs With Absolute Difference K.cpp
2006. Count Number of Pairs With Absolute Difference K.cpp
202. Happy Number.cpp
202. Happy Number.cpp
2022. Convert 1D Array Into 2D Array.cpp
2022. Convert 1D Array Into 2D Array.cpp
2053. Kth Distinct String in an Array.cpp
2053. Kth Distinct String in an Array.cpp
2085. Count Common Words With One Occurrence.cpp
2085. Count Common Words With One Occurrence.cpp
2119. A Number After a Double Reversal.cpp
2119. A Number After a Double Reversal.cpp
2169. Count Operations to Obtain Zero.cpp
2169. Count Operations to Obtain Zero.cpp
217. Contains Duplicate using hashSet.cpp
217. Contains Duplicate using hashSet.cpp
217. Contains Duplicate.cpp
217. Contains Duplicate.cpp
2176. Count Equal and Divisible Pairs in an Array.cpp
2176. Count Equal and Divisible Pairs in an Array.cpp
2180. Count Integers With Even Digit Sum.cpp
2180. Count Integers With Even Digit Sum.cpp
219. Contains Duplicate II.cpp
219. Contains Duplicate II.cpp
2215. Find the Difference of Two Arrays.cpp
2215. Find the Difference of Two Arrays.cpp
2220. Minimum Bit Flips to Convert Number.cpp
2220. Minimum Bit Flips to Convert Number.cpp
2235. Add Two Integers.cpp
2235. Add Two Integers.cpp
2269. Find the K-Beauty of a Number.cpp
2269. Find the K-Beauty of a Number.cpp
2283. Check if Number Has Equal Digit Count and Digit Value.cpp
2283. Check if Number Has Equal Digit Count and Digit Value.cpp
231. Power of Two.cpp
231. Power of Two.cpp
2357. Make Array Zero by Subtracting Equal Amounts.cpp
2357. Make Array Zero by Subtracting Equal Amounts.cpp
2390. Removing Stars From a String.cpp
2390. Removing Stars From a String.cpp
2404. Most Frequent Even Element.cpp
2404. Most Frequent Even Element.cpp
2413. Smallest Even Multiple.cpp
2413. Smallest Even Multiple.cpp
242. Valid Anagram.cpp
242. Valid Anagram.cpp
2425. Bitwise XOR of All Pairings.cpp
2425. Bitwise XOR of All Pairings.cpp
2433. Find The Original Array of Prefix Xor.cpp
2433. Find The Original Array of Prefix Xor.cpp
2460. Apply Operations to an Array.cpp
2460. Apply Operations to an Array.cpp
2469. Convert the Temperature.cpp
2469. Convert the Temperature.cpp
2520. Count the Digits That Divide a Number.cpp
2520. Count the Digits That Divide a Number.cpp
2525. Categorize Box According to Criteria.cpp
2525. Categorize Box According to Criteria.cpp
2535. Difference Between Element Sum and Digit Sum of an Array.cpp
2535. Difference Between Element Sum and Digit Sum of an Array.cpp
2544. Alternating Digit Sum.cpp
2544. Alternating Digit Sum.cpp
2553. Separate the Digits in an Array.cpp
2553. Separate the Digits in an Array.cpp
2563. Count the Number of Fair Pairs.cpp
2563. Count the Number of Fair Pairs.cpp
2574. Left and Right Sum Differences.cpp
2574. Left and Right Sum Differences.cpp
258. Add Digits.cpp
258. Add Digits.cpp
2582. Pass the Pillow.cpp
2582. Pass the Pillow.cpp
2591. Distribute Money to Maximum Children.cpp
2591. Distribute Money to Maximum Children.cpp
26. Remove Duplicates from Sorted Array.cpp
26. Remove Duplicates from Sorted Array.cpp
260. Single Number III.cpp
260. Single Number III.cpp
263. Ugly Number.cpp
263. Ugly Number.cpp
2652. Sum Multiples.cpp
2652. Sum Multiples.cpp
27. Remove Element.cpp
27. Remove Element.cpp
2716. Minimize String Length.cpp
2716. Minimize String Length.cpp
2769. Find the Maximum Achievable Number.cpp
2769. Find the Maximum Achievable Number.cpp
2778. Sum of Squares of Special Elements.cpp
2778. Sum of Squares of Special Elements.cpp
28. Find the Index of the First Occurrence in a String.cpp
28. Find the Index of the First Occurrence in a String.cpp
2824. Count Pairs Whose Sum is Less than Target.cpp
2824. Count Pairs Whose Sum is Less than Target.cpp
283. Move Zeroes.cpp
283. Move Zeroes.cpp
2859. Sum of Values at Indices With K Set Bits.cpp
2859. Sum of Values at Indices With K Set Bits.cpp
3110. Score of a String.cpp
3110. Score of a String.cpp
338. Counting Bits.cpp
338. Counting Bits.cpp
344. Reverse String.cpp
344. Reverse String.cpp
345. Reverse Vowels of a String.cpp
345. Reverse Vowels of a String.cpp
349. Intersection of Two Arrays.cpp
349. Intersection of Two Arrays.cpp
35. Search Insert Position.cpp
35. Search Insert Position.cpp
350. Intersection of Two Arrays II.cpp
350. Intersection of Two Arrays II.cpp
367. Valid Perfect Square.cpp
367. Valid Perfect Square.cpp
372. Super Pow.cpp
372. Super Pow.cpp
383. Ransom Note.cpp
383. Ransom Note.cpp
392. Is Subsequence.cpp
392. Is Subsequence.cpp
412. Fizz Buzz.cpp
412. Fizz Buzz.cpp
415. Add Strings.cpp
415. Add Strings.cpp
470. Implement Rand10() Using Rand7().cpp
470. Implement Rand10() Using Rand7().cpp
50. Pow(x, n).cpp
50. Pow(x, n).cpp
507. Perfect Number.cpp
507. Perfect Number.cpp
509. Fibonacci Number.cpp
509. Fibonacci Number.cpp
View all files
About
All of my leetcode solution
leetcode.com/u/HunterMahmud/
Topics
c
cpp
problem-solving
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.