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
Accelerator
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
Type
/
to 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 }}
Kumpatlapavankumar
/
LeetCode-DataStructures
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
4
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
main
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
387 Commits
387 Commits
1007. Minimum Domino Rotations For Equal Row.java
1007. Minimum Domino Rotations For Equal Row.java
101. Symmetric Tree.java
101. Symmetric Tree.java
102. Binary Tree Level Order Traversal.java
102. Binary Tree Level Order Traversal.java
1039. Minimum Score Triangulation of Polygon.java
1039. Minimum Score Triangulation of Polygon.java
104. Maximum Depth of Binary Tree.java
104. Maximum Depth of Binary Tree.java
1049. Last Stone Weight II.java
1049. Last Stone Weight II.java
105. Construct Binary Tree from Preorder and Inorder Traversal.java
105. Construct Binary Tree from Preorder and Inorder Traversal.java
106. Construct Binary Tree from Inorder and Postorder Traversal.java
106. Construct Binary Tree from Inorder and Postorder Traversal.java
1061. Lexicographically Smallest Equivalent String.java
1061. Lexicographically Smallest Equivalent String.java
1071. Greatest Common Divisor of Strings.java
1071. Greatest Common Divisor of Strings.java
1079. Letter Tile Possibilities.java
1079. Letter Tile Possibilities.java
108. Convert Sorted Array to Binary Search Tree.java
108. Convert Sorted Array to Binary Search Tree.java
109. Convert Sorted List to Binary Search Tree.java
109. Convert Sorted List to Binary Search Tree.java
110. Balanced Binary Tree in java.java
110. Balanced Binary Tree in java.java
111. Minimum Depth of Binary Tree.java
111. Minimum Depth of Binary Tree.java
112. Path Sum.java
112. Path Sum.java
1123. Lowest Common Ancestor of Deepest Leaves.java
1123. Lowest Common Ancestor of Deepest Leaves.java
1128. Number of Equivalent Domino Pairs.java
1128. Number of Equivalent Domino Pairs.java
1137. N-th Tribonacci Number.java
1137. N-th Tribonacci Number.java
1143. Longest Common Subsequence.java
1143. Longest Common Subsequence.java
118. Pascal's Triangle(Optimized Code).java
118. Pascal's Triangle(Optimized Code).java
118. Pascal's Triangle.java
118. Pascal's Triangle.java
119. Pascal's Triangle II.java
119. Pascal's Triangle II.java
120. Triangle.java
120. Triangle.java
125. Valid Palindrome.java
125. Valid Palindrome.java
1277. Count Square Submatrices with All Ones.java
1277. Count Square Submatrices with All Ones.java
1295. Find Numbers with Even Number of Digits.java
1295. Find Numbers with Even Number of Digits.java
1298. Maximum Candies You Can Get from Boxes.java
1298. Maximum Candies You Can Get from Boxes.java
13. Roman to Integer.sql
13. Roman to Integer.sql
1304. Find N Unique Integers Sum up to Zero.java
1304. Find N Unique Integers Sum up to Zero.java
1305. All Elements in Two Binary Search Trees.java
1305. All Elements in Two Binary Search Trees.java
1323. Maximum 69 Number.java
1323. Maximum 69 Number.java
1346. Check If N and Its Double Exist.java
1346. Check If N and Its Double Exist.java
135. Candy.java
135. Candy.java
1358. Number of Substrings Containing All Three Characters.java
1358. Number of Substrings Containing All Three Characters.java
136. Single Number.java
136. Single Number.java
14. Longest Common Prefix.java
14. Longest Common Prefix.java
1408. String Matching in an Array.java
1408. String Matching in an Array.java
141. Linked List Cycle(Efficient solution).java
141. Linked List Cycle(Efficient solution).java
141. Linked List Cycle.java
141. Linked List Cycle.java
142. Linked List Cycle II.java
142. Linked List Cycle II.java
1432. Max Difference You Can Get From Changing an Integer.java
1432. Max Difference You Can Get From Changing an Integer.java
144. Binary Tree Preorder Traversal.java
144. Binary Tree Preorder Traversal.java
145. Binary Tree Postorder Traversal.java
145. Binary Tree Postorder Traversal.java
1464. Maximum Product of Two Elements in an Array.java
1464. Maximum Product of Two Elements in an Array.java
1475. Final Prices With a Special Discount in a Shop.java
1475. Final Prices With a Special Discount in a Shop.java
1493. Longest Subarray of 1's After Deleting One Element.java
1493. Longest Subarray of 1's After Deleting One Element.java
1498. Number of Subsequences That Satisfy the Given Sum Condition.java
1498. Number of Subsequences That Satisfy the Given Sum Condition.java
1504. Count Submatrices With All Ones.java
1504. Count Submatrices With All Ones.java
151. Reverse Words in a String.java
151. Reverse Words in a String.java
1534. Count Good Triplets.java
1534. Count Good Triplets.java
160. Intersection of Two Linked Lists.java
160. Intersection of Two Linked Lists.java
1619. Mean of Array After Removing Some Elements.java
1619. Mean of Array After Removing Some Elements.java
162. Find Peak Element(Efiicient code).java
162. Find Peak Element(Efiicient code).java
162. Find Peak Element.java
162. Find Peak Element.java
1662. Check If Two String Arrays are Equivalent.java
1662. Check If Two String Arrays are Equivalent.java
1671. Minimum Number of Removals to Make Mountain Array.java
1671. Minimum Number of Removals to Make Mountain Array.java
1672. Richest Customer Wealth.java
1672. Richest Customer Wealth.java
168. Excel Sheet Column Title.java
168. Excel Sheet Column Title.java
169. Majority Element(efficient solution).java
169. Majority Element(efficient solution).java
169. Majority Element.java
169. Majority Element.java
171. Excel Sheet Column Number.java
171. Excel Sheet Column Number.java
1716. Calculate Money in Leetcode Bank.java
1716. Calculate Money in Leetcode Bank.java
172. Factorial Trailing Zeroes.java
172. Factorial Trailing Zeroes.java
1733. Minimum Number of People to Teach.java
1733. Minimum Number of People to Teach.java
1749. Maximum Absolute Sum of Any Subarray.java
1749. Maximum Absolute Sum of Any Subarray.java
1780. Check if Number is a Sum of Powers of Three.java
1780. Check if Number is a Sum of Powers of Three.java
1792. Maximum Average Pass Ratio.java
1792. Maximum Average Pass Ratio.java
1857. Largest Color Value in a Directed Graph.java
1857. Largest Color Value in a Directed Graph.java
1863. Sum of All Subset XOR Totals.java
1863. Sum of All Subset XOR Totals.java
1865. Finding Pairs With a Certain Sum.java
1865. Finding Pairs With a Certain Sum.java
19. Remove Nth Node From End of List.java
19. Remove Nth Node From End of List.java
190. Reverse Bits.java
190. Reverse Bits.java
191. Number of 1 Bits.java
191. Number of 1 Bits.java
1920. Build Array from Permutation.java
1920. Build Array from Permutation.java
1922. Count Good Numbers.java
1922. Count Good Numbers.java
1931. Painting a Grid With Three Different Colors.java
1931. Painting a Grid With Three Different Colors.java
1935. Maximum Number of Words You Can Type.java
1935. Maximum Number of Words You Can Type.java
1952. Three Divisors.java
1952. Three Divisors.java
1957. Delete Characters to Make Fancy String.java
1957. Delete Characters to Make Fancy String.java
1979. Find Greatest Common Divisor of Array.java
1979. Find Greatest Common Divisor of Array.java
1980. Find Unique Binary String.java
1980. Find Unique Binary String.java
199. Binary Tree Right Side View(Efficient).java
199. Binary Tree Right Side View(Efficient).java
199. Binary Tree Right Side View.java
199. Binary Tree Right Side View.java
20. Valid Parentheses.java
20. Valid Parentheses.java
201. Bitwise AND of Numbers Range.java
201. Bitwise AND of Numbers Range.java
2014. Longest Subsequence Repeated k Times.java
2014. Longest Subsequence Repeated k Times.java
2016. Maximum Difference Between Increasing Elements.java
2016. Maximum Difference Between Increasing Elements.java
202. Happy Number.java
202. Happy Number.java
203. Remove Linked List Elements.java
203. Remove Linked List Elements.java
2033. Minimum Operations to Make a Uni-Value Grid.java
2033. Minimum Operations to Make a Uni-Value Grid.java
2040. Kth Smallest Product of Two Sorted Arrays.java
2040. Kth Smallest Product of Two Sorted Arrays.java
2043. Simple Bank System.java
2043. Simple Bank System.java
206. Reverse Linked List.java
206. Reverse Linked List.java
2071. Maximum Number of Tasks You Can Assign.java
2071. Maximum Number of Tasks You Can Assign.java
2073. Time Needed to Buy Tickets.java
2073. Time Needed to Buy Tickets.java
2094. Finding 3-Digit Even Numbers.java
2094. Finding 3-Digit Even Numbers.java
2095. Delete the Middle Node of a Linked List.java
2095. Delete the Middle Node of a Linked List.java
2099. Find Subsequence of Length K With the Largest Sum.java
2099. Find Subsequence of Length K With the Largest Sum.java
21. Merge Two Sorted Lists.java
21. Merge Two Sorted Lists.java
View all files
Repository files navigation
README
More
items
LeetCode-DataStructures
using java
About
LeetCode solutions using java
www.linkedin.com/in/kumpatlapavankumar/
Topics
computer-science
daily-coding-problem
dsa
dsa-practice
enjoy-coding
java
leetcode
leetcode-java
leetcode-solutions
programming-language
Resources
Readme
Activity
Stars
4
stars
Watchers
1
watching
Forks
4
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.