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 }}
hiprav
DSA-LeetCode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
DSA-LeetCode
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
LeetCode Practice👾👨💻
Topics
array
binarysearch
etc
linkedlist
stack-queue
strings
trees
Activity
Stars
2
stars
Watchers
1
watching
Forks
0
forks
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
3 Commits
3 Commits
Folders and files
Name
Name
Last commit message
Last commit date
Add_Two_Numbers.java
Add_Two_Numbers.java
Asteroid_Collision.java
Asteroid_Collision.java
Average_of_Levels_in_Binary_Tree.java
Average_of_Levels_in_Binary_Tree.java
Best_Time_to_Buy_and_Sell_Stock.java
Best_Time_to_Buy_and_Sell_Stock.java
Binary_Tree_Level_Order_Traversal.java
Binary_Tree_Level_Order_Traversal.java
Binary_Tree_Level_Order_Traversal_II.java
Binary_Tree_Level_Order_Traversal_II.java
Binary_Tree_Maximum_Path_Sum.java
Binary_Tree_Maximum_Path_Sum.java
Binary_Tree_Right_Side_View.java
Binary_Tree_Right_Side_View.java
Binary_Tree_Zigzag_Level_Order_Traversal.java
Binary_Tree_Zigzag_Level_Order_Traversal.java
Can_Place_Flowers.java
Can_Place_Flowers.java
Combination_Sum.java
Combination_Sum.java
Container_With_Most_Water.java
Container_With_Most_Water.java
Contains_Duplicate.java
Contains_Duplicate.java
Contains_Duplicate_II.java
Contains_Duplicate_II.java
Copy_List_with_Random_Pointer.java
Copy_List_with_Random_Pointer.java
Count_Good_Nodes_in_Binary_Tree.java
Count_Good_Nodes_in_Binary_Tree.java
Daily_Temperatures.java
Daily_Temperatures.java
Decode_String.java
Decode_String.java
Delete_Node_in_a_BST.java
Delete_Node_in_a_BST.java
Delete_Node_in_a_Linked_List.java
Delete_Node_in_a_Linked_List.java
Delete_the_Middle_Node_of_a_Linked_List.java
Delete_the_Middle_Node_of_a_Linked_List.java
Determine_if_Two_Strings_Are_Close.java
Determine_if_Two_Strings_Are_Close.java
Diameter_of_Binary_Tree.java
Diameter_of_Binary_Tree.java
Equal_Row_and_Column_Pairs.java
Equal_Row_and_Column_Pairs.java
Find_First_and_Last_Position_of_Element_in_Sorted_Array.java
Find_First_and_Last_Position_of_Element_in_Sorted_Array.java
Find_Peak_Element.java
Find_Peak_Element.java
Find_Pivot_Index.java
Find_Pivot_Index.java
Find_Right_Interval.java
Find_Right_Interval.java
Find_Smallest_Letter_Greater_Than_Target.java
Find_Smallest_Letter_Greater_Than_Target.java
Find_in_Mountain_Array.java
Find_in_Mountain_Array.java
Find_the_Difference_of_Two_Arrays.java
Find_the_Difference_of_Two_Arrays.java
Find_the_Highest_Altitude.java
Find_the_Highest_Altitude.java
Find_the_Index_of_the_First_Occurrence_in_a_String.java
Find_the_Index_of_the_First_Occurrence_in_a_String.java
Flatten_Binary_Tree_to_Linked_List.java
Flatten_Binary_Tree_to_Linked_List.java
Greatest_Common_Divisor_of_Strings.java
Greatest_Common_Divisor_of_Strings.java
Greatest_Number_of_Candies.java
Greatest_Number_of_Candies.java
Happy_Number.java
Happy_Number.java
Height_Checker.java
Height_Checker.java
How_Many_Number.java
How_Many_Number.java
Implement_Queue_using_Stacks.java
Implement_Queue_using_Stacks.java
Increasing_Triplet_Subsequence.java
Increasing_Triplet_Subsequence.java
Intersection_of_Two_Arrays.java
Intersection_of_Two_Arrays.java
Intersection_of_Two_Linked_Lists.java
Intersection_of_Two_Linked_Lists.java
Invert_Binary_Tree.java
Invert_Binary_Tree.java
Is_Subsequence.java
Is_Subsequence.java
Kids_With_the_Greatest_Number_of_Candies.java
Kids_With_the_Greatest_Number_of_Candies.java
Koko_Eating_Bananas.java
Koko_Eating_Bananas.java
Kth_Largest_Element_in_an_Array.java
Kth_Largest_Element_in_an_Array.java
L2.java
L2.java
Largest_Rectangle_in_Histogram.java
Largest_Rectangle_in_Histogram.java
Leaf_Similar_Trees.java
Leaf_Similar_Trees.java
Letter_Combinations_of_a_Phone_Number.java
Letter_Combinations_of_a_Phone_Number.java
Linked_List_Cycle.java
Linked_List_Cycle.java
Linked_List_Cycle_II.java
Linked_List_Cycle_II.java
Longest_ZigZag_Path_in_a_Binary_Tree.java
Longest_ZigZag_Path_in_a_Binary_Tree.java
Lowest_Common_Ancestor_of_a_Binary_Tree.java
Lowest_Common_Ancestor_of_a_Binary_Tree.java
Main.java
Main.java
Max_Consecutive_Ones_III.java
Max_Consecutive_Ones_III.java
Maximum_Average_Subarray_I.java
Maximum_Average_Subarray_I.java
Maximum_Depth_of_Binary_Tree.java
Maximum_Depth_of_Binary_Tree.java
Maximum_Level_Sum_of_a_Binary_Tree.java
Maximum_Level_Sum_of_a_Binary_Tree.java
Maximum_Number_of_Vowels_in_a_Substring_of_Given_Length.java
Maximum_Number_of_Vowels_in_a_Substring_of_Given_Length.java
Maximum_Subarray.java
Maximum_Subarray.java
Maximum_Twin_Sum_of_a_Linked_List.java
Maximum_Twin_Sum_of_a_Linked_List.java
Median_of_Two_Sorted_Arrays.java
Median_of_Two_Sorted_Arrays.java
Merge_Intervals.java
Merge_Intervals.java
Merge_Sorted_Array.java
Merge_Sorted_Array.java
Merge_Strings_Alternately.java
Merge_Strings_Alternately.java
Merge_Two_Sorted_Lists.java
Merge_Two_Sorted_Lists.java
Middle_of_the_Linked_List.java
Middle_of_the_Linked_List.java
Move_Zeroes.java
Move_Zeroes.java
Non_overlapping_Intervals.java
Non_overlapping_Intervals.java
Number_of_Recent_Calls.java
Number_of_Recent_Calls.java
Odd_Even_Linked_List.java
Odd_Even_Linked_List.java
Palindrome_Linked_List.java
Palindrome_Linked_List.java
Partition_Array_into_Disjoint_Intervals.java
Partition_Array_into_Disjoint_Intervals.java
Path_Sum.java
Path_Sum.java
Path_Sum_II.java
Path_Sum_II.java
Peak_Index_in_a_Mountain_Array.java
Peak_Index_in_a_Mountain_Array.java
Populating_Next_Right_Pointers_in_Each_Node.java
Populating_Next_Right_Pointers_in_Each_Node.java
Product_of_Array_Except_Self.java
Product_of_Array_Except_Self.java
Remove_Duplicates_from_Sorted_List.java
Remove_Duplicates_from_Sorted_List.java
Remove_Duplicates_from_Sorted_List_II.java
Remove_Duplicates_from_Sorted_List_II.java
Remove_Element.java
Remove_Element.java
Remove_Linked_List_Elements.java
Remove_Linked_List_Elements.java
Remove_Nth_Node_From_End_of_List.java
Remove_Nth_Node_From_End_of_List.java
Removing_Stars_From_a_String.java
Removing_Stars_From_a_String.java
Reorder_List.java
Reorder_List.java
Reverse_Linked_List.java
Reverse_Linked_List.java
Reverse_Linked_List_II.java
Reverse_Linked_List_II.java
Reverse_Nodes_in_k_Group.java
Reverse_Nodes_in_k_Group.java
Reverse_Vowels_of_a_String.java
Reverse_Vowels_of_a_String.java
Reverse_Words_in_a_String.java
Reverse_Words_in_a_String.java
Roman_to_Integer.java
Roman_to_Integer.java
Rotate_Array.java
Rotate_Array.java
Rotate_List.java
Rotate_List.java
RunnigSum.java
RunnigSum.java
Search_in_Rotated_Sorted_Array.java
Search_in_Rotated_Sorted_Array.java
Search_in_a_Binary_Search_Tree.java
Search_in_a_Binary_Search_Tree.java
Shuffle_the_Array.java
Shuffle_the_Array.java
View all files
About
LeetCode Practice👾👨💻
Topics
array
binarysearch
etc
linkedlist
stack-queue
strings
trees
Activity
Stars
2
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.