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 }}
AhmedZahRan7
/
LeetCode-Solutions
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
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
73 Commits
73 Commits
Folders and files
Name
Name
Last commit message
Last commit date
105. Construct Binary Tree from Preorder and Inorder Traversal.cpp
105. Construct Binary Tree from Preorder and Inorder Traversal.cpp
112. Path Sum.cpp
112. Path Sum.cpp
12. Integer to Roman.cpp
12. Integer to Roman.cpp
1209. Remove All Adjacent Duplicates in String II.cpp
1209. Remove All Adjacent Duplicates in String II.cpp
1220. Count Vowels Permutation
1220. Count Vowels Permutation
1249. Minimum Remove to Make Valid Parentheses.cpp
1249. Minimum Remove to Make Valid Parentheses.cpp
128. Longest Consecutive Sequence.cpp
128. Longest Consecutive Sequence.cpp
1291. Sequential Digits.cpp
1291. Sequential Digits.cpp
13. Roman to Integer.cpp
13. Roman to Integer.cpp
1302. Deepest Leaves Sum.cpp
1302. Deepest Leaves Sum.cpp
1305. All Elements in Two Binary Search Trees.cpp
1305. All Elements in Two Binary Search Trees.cpp
1332. Remove Palindromic Subsequences.cpp
1332. Remove Palindromic Subsequences.cpp
1338. Reduce Array Size to The Half
1338. Reduce Array Size to The Half
1347. Minimum Number of Steps to Make Two Strings Anagram.cpp
1347. Minimum Number of Steps to Make Two Strings Anagram.cpp
135. Candy.cpp
135. Candy.cpp
1396. Design Underground System.java
1396. Design Underground System.java
142. Linked List Cycle II.cpp
142. Linked List Cycle II.cpp
1461. Check If a String Contains All Binary Codes of Size K.cpp
1461. Check If a String Contains All Binary Codes of Size K.cpp
1465. Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts.cpp
1465. Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts.cpp
1510. Stone Game IV.cpp
1510. Stone Game IV.cpp
1551. Minimum Operations to Make Array Equal.cpp
1551. Minimum Operations to Make Array Equal.cpp
160. Intersection of Two Linked Lists.java
160. Intersection of Two Linked Lists.java
1695. Maximum Erasure Value.cpp
1695. Maximum Erasure Value.cpp
1696. Jump Game VI.cpp
1696. Jump Game VI.cpp
17. Letter Combinations of a Phone Number.cpp
17. Letter Combinations of a Phone Number.cpp
1704. Determine if String Halves Are Alike.cpp
1704. Determine if String Halves Are Alike.cpp
1710. Maximum Units on a Truck.cpp
1710. Maximum Units on a Truck.cpp
1721. Swapping Nodes in a Linked List.java
1721. Swapping Nodes in a Linked List.java
1779. Find Nearest Point That Has the Same X or Y Coordinate.cpp
1779. Find Nearest Point That Has the Same X or Y Coordinate.cpp
1780. Check if Number is a Sum of Powers of Three.cpp
1780. Check if Number is a Sum of Powers of Three.cpp
1781. Sum of Beauty of All Substrings.cpp
1781. Sum of Beauty of All Substrings.cpp
1796. Second Largest Digit in a String.cpp
1796. Second Largest Digit in a String.cpp
1797. Design Authentication Manager.java
1797. Design Authentication Manager.java
1812. Determine Color of a Chessboard Square.cpp
1812. Determine Color of a Chessboard Square.cpp
1813. Sentence Similarity III.cpp
1813. Sentence Similarity III.cpp
1814. Count Nice Pairs in an Array.cpp
1814. Count Nice Pairs in an Array.cpp
1828. Queries on Number of Points Inside a Circle.cpp
1828. Queries on Number of Points Inside a Circle.cpp
1829. Maximum XOR for Each Query.cpp
1829. Maximum XOR for Each Query.cpp
1832. Check if the Sentence Is Pangram.cpp
1832. Check if the Sentence Is Pangram.cpp
1833. Maximum Ice Cream Bars.cpp
1833. Maximum Ice Cream Bars.cpp
1835. Find XOR Sum of All Pairs Bitwise AND.cpp
1835. Find XOR Sum of All Pairs Bitwise AND.cpp
19. Remove Nth Node From End of List.cpp
19. Remove Nth Node From End of List.cpp
205. Isomorphic Strings.cpp
205. Isomorphic Strings.cpp
211. Design Add and Search Words Data Structure.cpp
211. Design Add and Search Words Data Structure.cpp
226. Invert Binary Tree.cpp
226. Invert Binary Tree.cpp
234. Palindrome Linked List.java
234. Palindrome Linked List.java
240. Search a 2D Matrix II.cpp
240. Search a 2D Matrix II.cpp
268. Missing Number.cpp
268. Missing Number.cpp
32. Longest Valid Parentheses.cpp
32. Longest Valid Parentheses.cpp
329. Longest Increasing Path in a Matrix.cpp
329. Longest Increasing Path in a Matrix.cpp
34. Find First and Last Position of Element in Sorted Array.cpp
34. Find First and Last Position of Element in Sorted Array.cpp
341. Flatten Nested List Iterator.java
341. Flatten Nested List Iterator.java
354. Russian Doll Envelopes.cpp
354. Russian Doll Envelopes.cpp
36. Valid Sudoku.cpp
36. Valid Sudoku.cpp
377. Combination Sum IV.cpp
377. Combination Sum IV.cpp
454. 4Sum II.cpp
454. 4Sum II.cpp
474. Ones and Zeroes.cpp
474. Ones and Zeroes.cpp
509. Fibonacci Number.java
509. Fibonacci Number.java
524. Longest Word in Dictionary through Deleting.cpp
524. Longest Word in Dictionary through Deleting.cpp
532. K-diff Pairs in an Array.cpp
532. K-diff Pairs in an Array.cpp
535. Encode and Decode TinyURL.java
535. Encode and Decode TinyURL.java
542. 01 Matrix.cpp
542. 01 Matrix.cpp
554. Brick Wall.cpp
554. Brick Wall.cpp
56. Merge Intervals.cpp
56. Merge Intervals.cpp
566. Reshape the Matrix
566. Reshape the Matrix
575. Distribute Candies.cpp
575. Distribute Candies.cpp
581. Shortest Unsorted Continuous Subarray.cpp
581. Shortest Unsorted Continuous Subarray.cpp
61. Rotate List.cpp
61. Rotate List.cpp
622. Design Circular Queue.java
622. Design Circular Queue.java
623. Add One Row to Tree.java
623. Add One Row to Tree.java
637. Average of Levels in Binary Tree.java
637. Average of Levels in Binary Tree.java
645. Set Mismatch.cpp
645. Set Mismatch.cpp
647. Palindromic Substrings.cpp
647. Palindromic Substrings.cpp
658. Find K Closest Elements
658. Find K Closest Elements
695. Max Area of Island.cpp
695. Max Area of Island.cpp
696. Count Binary Substrings.cpp
696. Count Binary Substrings.cpp
706. Design HashMap.java
706. Design HashMap.java
714. Best Time to Buy and Sell Stock with Transaction Fee.cpp
714. Best Time to Buy and Sell Stock with Transaction Fee.cpp
74. Search a 2D Matrix.cpp
74. Search a 2D Matrix.cpp
823. Binary Trees With Factors.cpp
823. Binary Trees With Factors.cpp
841. Keys and Rooms.cpp
841. Keys and Rooms.cpp
856. Score of Parentheses.cpp
856. Score of Parentheses.cpp
86. Partition List.java
86. Partition List.java
869. Reordered Power of 2.cpp
869. Reordered Power of 2.cpp
89. Gray Code
89. Gray Code
916. Word Subsets.cpp
916. Word Subsets.cpp
941. Valid Mountain Array.cpp
941. Valid Mountain Array.cpp
953. Verifying an Alien Dictionary.cpp
953. Verifying an Alien Dictionary.cpp
97. Interleaving String.cpp
97. Interleaving String.cpp
970. Powerful Integers.cpp
970. Powerful Integers.cpp
971. Flip Binary Tree To Match Preorder Traversal.java
971. Flip Binary Tree To Match Preorder Traversal.java
986. Interval List Intersections.cpp
986. Interval List Intersections.cpp
991. Broken Calculator.cpp
991. Broken Calculator.cpp
994. Rotting Oranges.cpp
994. Rotting Oranges.cpp
997. Find the Town Judge.cpp
997. Find the Town Judge.cpp
big-o-cheat-sheet-poster.png
big-o-cheat-sheet-poster.png
View all files
About
I will upload my problems solutions of leetcode.com daily problems on this repo.
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.