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 }}
ammarqaisar11a55
LeetCode-Solutions
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
LeetCode-Solutions
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
leetcode.com/u/mammarqaisar/
Topics
database
datastructuresandalgorithm
mysql
Resources
Readme
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
816 Commits
816 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.gitignore
.gitignore
1. Two Sum.cpp
1. Two Sum.cpp
100. Same Tree.cpp
100. Same Tree.cpp
1002. Find Common Characters.cpp
1002. Find Common Characters.cpp
1005. Maximize Sum Of Array After K Negations.cpp
1005. Maximize Sum Of Array After K Negations.cpp
1008. Construct Binary Search Tree from Preorder Traversal.cpp
1008. Construct Binary Search Tree from Preorder Traversal.cpp
1009. Complement of Base 10 Integer.cpp
1009. Complement of Base 10 Integer.cpp
101. Symmetric Tree.cpp
101. Symmetric Tree.cpp
1019. Next Greater Node In Linked List.cpp
1019. Next Greater Node In Linked List.cpp
102. Binary Tree Level Order Traversal.cpp
102. Binary Tree Level Order Traversal.cpp
1020. Number of Enclaves.cpp
1020. Number of Enclaves.cpp
1022. Sum of Root To Leaf Binary Numbers.cpp
1022. Sum of Root To Leaf Binary Numbers.cpp
1025. Divisor Game.cpp
1025. Divisor Game.cpp
1026. Maximum Difference Between Node and Ancestor.cpp
1026. Maximum Difference Between Node and Ancestor.cpp
103. Binary Tree Zigzag Level Order Traversal.cpp
103. Binary Tree Zigzag Level Order Traversal.cpp
1037. Valid Boomerang.cpp
1037. Valid Boomerang.cpp
1038. Binary Search Tree to Greater Sum Tree.cpp
1038. Binary Search Tree to Greater Sum Tree.cpp
104. Maximum Depth of Binary Tree.cpp
104. Maximum Depth of Binary Tree.cpp
1046. Last Stone Weight.cpp
1046. Last Stone Weight.cpp
1047. Remove All Adjacent Duplicates In String.cpp
1047. Remove All Adjacent Duplicates In String.cpp
105. Construct Binary Tree from Preorder and Inorder Traversal.cpp
105. Construct Binary Tree from Preorder and Inorder Traversal.cpp
1051. Height Checker.cpp
1051. Height Checker.cpp
1054. Distant Barcodes.cpp
1054. Distant Barcodes.cpp
106. Construct Binary Tree from Inorder and Postorder Traversal.cpp
106. Construct Binary Tree from Inorder and Postorder Traversal.cpp
107. Binary Tree Level Order Traversal II.cpp
107. Binary Tree Level Order Traversal II.cpp
1078. Occurrences After Bigram.cpp
1078. Occurrences After Bigram.cpp
1079. Letter Tile Possibilities.cpp
1079. Letter Tile Possibilities.cpp
108. Convert Sorted Array to Binary Search Tree.cpp
108. Convert Sorted Array to Binary Search Tree.cpp
1089. Duplicate Zeros.cpp
1089. Duplicate Zeros.cpp
109. Convert Sorted List to Binary Search Tree.cpp
109. Convert Sorted List to Binary Search Tree.cpp
11. Container With Most Water.cpp
11. Container With Most Water.cpp
110. Balanced Binary Tree.cc
110. Balanced Binary Tree.cc
1103. Distribute Candies to People.cpp
1103. Distribute Candies to People.cpp
111. Minimum Depth of Binary Tree.cpp
111. Minimum Depth of Binary Tree.cpp
1110. Delete Nodes And Return Forest.cpp
1110. Delete Nodes And Return Forest.cpp
112. Path Sum.cpp
112. Path Sum.cpp
1122. Relative Sort Array.cpp
1122. Relative Sort Array.cpp
1128. Number of Equivalent Domino Pairs.cpp
1128. Number of Equivalent Domino Pairs.cpp
113. Path Sum II.cpp
113. Path Sum II.cpp
1137. N-th Tribonacci Number.cpp
1137. N-th Tribonacci Number.cpp
1138. Alphabet Board Path.cpp
1138. Alphabet Board Path.cpp
114. Flatten Binary Tree to Linked List.cpp
114. Flatten Binary Tree to Linked List.cpp
116. Populating Next Right Pointers in Each Node.cpp
116. Populating Next Right Pointers in Each Node.cpp
1160. Find Words That Can Be Formed by Characters.cpp
1160. Find Words That Can Be Formed by Characters.cpp
1161. Maximum Level Sum of a Binary Tree.cpp
1161. Maximum Level Sum of a Binary Tree.cpp
118. Pascal's Triangle.cpp
118. Pascal's Triangle.cpp
1184. Distance Between Bus Stops.cpp
1184. Distance Between Bus Stops.cpp
1185. Day of the Week.cpp
1185. Day of the Week.cpp
1189. Maximum Number of Balloons.cpp
1189. Maximum Number of Balloons.cpp
1200. Minimum Absolute Difference.cpp
1200. Minimum Absolute Difference.cpp
121. Best Time to Buy and Sell Stock.cpp
121. Best Time to Buy and Sell Stock.cpp
1219. Path with Maximum Gold.cpp
1219. Path with Maximum Gold.cpp
1221. Split a String in Balanced Strings.cpp
1221. Split a String in Balanced Strings.cpp
1222. Queens That Can Attack the King.cpp
1222. Queens That Can Attack the King.cpp
1239. Maximum Length of a Concatenated String with Unique Characters.cpp
1239. Maximum Length of a Concatenated String with Unique Characters.cpp
125. Valid Palindrome.cpp
125. Valid Palindrome.cpp
1252. Cells with Odd Values in a Matrix.cpp
1252. Cells with Odd Values in a Matrix.cpp
1254. Number of Closed Islands.cpp
1254. Number of Closed Islands.cpp
1260. Shift 2D Grid.cpp
1260. Shift 2D Grid.cpp
1261. Find Elements in a Contaminated Binary Tree.cpp
1261. Find Elements in a Contaminated Binary Tree.cpp
1267. Count Servers that Communicate.cpp
1267. Count Servers that Communicate.cpp
1268. Search Suggestions System.cpp
1268. Search Suggestions System.cpp
1275. Find Winner on a Tic Tac Toe Game.cpp
1275. Find Winner on a Tic Tac Toe Game.cpp
128. Longest Consecutive Sequence.cpp
128. Longest Consecutive Sequence.cpp
1282. Group the People Given the Group Size They Belong To.cpp
1282. Group the People Given the Group Size They Belong To.cpp
1286. Iterator for Combination.cpp
1286. Iterator for Combination.cpp
129. Sum Root to Leaf Numbers.cpp
129. Sum Root to Leaf Numbers.cpp
1290. Convert Binary Number in a Linked List to Integer.cpp
1290. Convert Binary Number in a Linked List to Integer.cpp
1291. Sequential Digits.cpp
1291. Sequential Digits.cpp
1299. Replace Elements with Greatest Element on Right Side.cpp
1299. Replace Elements with Greatest Element on Right Side.cpp
13. Roman to Integer.cpp
13. Roman to Integer.cpp
1302. Deepest Leaves Sum.cpp
1302. Deepest Leaves Sum.cpp
1304. Find N Unique Integers Sum up to Zero.cpp
1304. Find N Unique Integers Sum up to Zero.cpp
1305. All Elements in Two Binary Search Trees.cpp
1305. All Elements in Two Binary Search Trees.cpp
1309. Decrypt String from Alphabet to Integer Mapping.cpp
1309. Decrypt String from Alphabet to Integer Mapping.cpp
131. Palindrome Partitioning.cpp
131. Palindrome Partitioning.cpp
1313. Decompress Run-Length Encoded List.cpp
1313. Decompress Run-Length Encoded List.cpp
1315. Sum of Nodes with Even-Valued Grandparent.cpp
1315. Sum of Nodes with Even-Valued Grandparent.cpp
1317. Convert Integer to the Sum of Two No-Zero Integers.cpp
1317. Convert Integer to the Sum of Two No-Zero Integers.cpp
1323. Maximum 69 Number.cpp
1323. Maximum 69 Number.cpp
1324. Print Words Vertically.cpp
1324. Print Words Vertically.cpp
1325. Delete Leaves With a Given Value.cpp
1325. Delete Leaves With a Given Value.cpp
1329. Sort the Matrix Diagonally.cpp
1329. Sort the Matrix Diagonally.cpp
1331. Rank Transform of an Array.cpp
1331. Rank Transform of an Array.cpp
1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance.cpp
1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance.cpp
1337. The K Weakest Rows in a Matrix.cpp
1337. The K Weakest Rows in a Matrix.cpp
1338. Reduce Array Size to The Half.cpp
1338. Reduce Array Size to The Half.cpp
1347. Minimum Number of Steps to Make Two Strings Anagram.cpp
1347. Minimum Number of Steps to Make Two Strings Anagram.cpp
1352. Product of the Last K Numbers.cpp
1352. Product of the Last K Numbers.cpp
1356. Sort Integers by The Number of 1 Bits.cpp
1356. Sort Integers by The Number of 1 Bits.cpp
1358. Number of Substrings Containing All Three Characters.cpp
1358. Number of Substrings Containing All Three Characters.cpp
137. Single Number II.cpp
137. Single Number II.cpp
1370. Increasing Decreasing String.cpp
1370. Increasing Decreasing String.cpp
1372. Longest ZigZag Path in a Binary Tree.cpp
1372. Longest ZigZag Path in a Binary Tree.cpp
1374. Generate a String With Characters That Have Odd Counts.cpp
1374. Generate a String With Characters That Have Odd Counts.cpp
1379. Find a Corresponding Node of a Binary Tree in a Clone of That Tree.cpp
1379. Find a Corresponding Node of a Binary Tree in a Clone of That Tree.cpp
1380. Lucky Numbers in a Matrix.cpp
1380. Lucky Numbers in a Matrix.cpp
1381. Design a Stack With Increment Operation.cpp
1381. Design a Stack With Increment Operation.cpp
1382. Balance a Binary Search Tree.cpp
1382. Balance a Binary Search Tree.cpp
1385. Find the Distance Value Between Two Arrays.cpp
1385. Find the Distance Value Between Two Arrays.cpp
View all files
Repository files navigation
README
More
items
I have posted Solutions Of Leetcode Questions That I Have Solved Till Now.
About
leetcode.com/u/mammarqaisar/
Topics
database
datastructuresandalgorithm
mysql
Resources
Readme
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
Contributors
Languages
You can’t perform that action at this time.