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 }}
mohith10
Algorithm-Data-Structures
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Algorithm-Data-Structures
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
0
(
0
)
You must be signed in to star a repository
About
Solutions of standard algorithmic problems
Topics
algorithms
array
circular-linked-list
data-structures
hackerrank
linked-list
queue
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
184 Commits
184 Commits
Folders and files
Name
Name
Last commit message
Last commit date
Binary Search Tree
Binary Search Tree
DP
DP
GFG_Linked_List_Swap_w
GFG_Linked_List_Swap_w
Graphs
Graphs
Hashing
Hashing
Heap
Heap
AppleOrange.cpp
AppleOrange.cpp
ArrayMultiplication.cpp
ArrayMultiplication.cpp
ArrayRotation_Reversal_Algo.cpp
ArrayRotation_Reversal_Algo.cpp
Array_GFG_Elments_atleast_2_greater_elements.cpp
Array_GFG_Elments_atleast_2_greater_elements.cpp
BFS_Graph.cpp
BFS_Graph.cpp
BetweenTwoSets.cpp
BetweenTwoSets.cpp
BuySellStrockOnce.cpp
BuySellStrockOnce.cpp
CamelCase.cpp
CamelCase.cpp
DFS.cpp
DFS.cpp
DFS_Graph.cpp
DFS_Graph.cpp
DeleteDuplicatesArray.cpp
DeleteDuplicatesArray.cpp
DeleteKeyArray.cpp
DeleteKeyArray.cpp
Dominates_Graph.cpp
Dominates_Graph.cpp
Elevator.cpp
Elevator.cpp
Encryption.cpp
Encryption.cpp
GFG_Array_2nd_Largest_Element.cpp
GFG_Array_2nd_Largest_Element.cpp
GFG_Array_3_Largest_Element.cpp
GFG_Array_3_Largest_Element.cpp
GFG_Array_A[i]_with_i.cpp
GFG_Array_A[i]_with_i.cpp
GFG_Array_Alternate_+_-.cpp
GFG_Array_Alternate_+_-.cpp
GFG_Array_Alternate_Large_Small.cpp
GFG_Array_Alternate_Large_Small.cpp
GFG_Array_Arrange_as_per_Indices.cpp
GFG_Array_Arrange_as_per_Indices.cpp
GFG_Array_BinarySearch_ArrayRotated.cpp
GFG_Array_BinarySearch_ArrayRotated.cpp
GFG_Array_Contiguos_Maximum_Sum_Kadane's_Algorithm.cpp
GFG_Array_Contiguos_Maximum_Sum_Kadane's_Algorithm.cpp
GFG_Array_Double_Elements_push_Zero_End.cpp
GFG_Array_Double_Elements_push_Zero_End.cpp
GFG_Array_K'th_Largest_Smalles.cpp
GFG_Array_K'th_Largest_Smalles.cpp
GFG_Array_K'th_Largest_Sum_non_Overlapping.cpp.cpp
GFG_Array_K'th_Largest_Sum_non_Overlapping.cpp.cpp
GFG_Array_Largest_Elemet.cpp
GFG_Array_Largest_Elemet.cpp
GFG_Array_Least_Average_Subarray_with_k_elements.cpp
GFG_Array_Least_Average_Subarray_with_k_elements.cpp
GFG_Array_LeftRotate.cpp
GFG_Array_LeftRotate.cpp
GFG_Array_Linked_List_Delete_by_POSITION.cpp
GFG_Array_Linked_List_Delete_by_POSITION.cpp
GFG_Array_Maximum_Sum_with_Prefix_Sum.cpp
GFG_Array_Maximum_Sum_with_Prefix_Sum.cpp
GFG_Array_MinSwap_less_k.cpp
GFG_Array_MinSwap_less_k.cpp
GFG_Array_Minimized_Difference.cpp
GFG_Array_Minimized_Difference.cpp
GFG_Array_Minimum_Distance_between_2_Elements.cpp
GFG_Array_Minimum_Distance_between_2_Elements.cpp
GFG_Array_Move_Zero_toEnd.cpp
GFG_Array_Move_Zero_toEnd.cpp
GFG_Array_Pos_Neg_Arrangement_No_Order_Preserving.cpp
GFG_Array_Pos_Neg_Arrangement_No_Order_Preserving.cpp
GFG_Array_Prod_i*a[i].cpp
GFG_Array_Prod_i*a[i].cpp
GFG_Array_Prod_of_k_smallest_number.cpp
GFG_Array_Prod_of_k_smallest_number.cpp
GFG_Array_ReverseArray.cpp
GFG_Array_ReverseArray.cpp
GFG_Array_Right_Rotate.cpp
GFG_Array_Right_Rotate.cpp
GFG_Array_Rotation_Count.cpp
GFG_Array_Rotation_Count.cpp
GFG_Array_Sell_Stock_Twice.cpp
GFG_Array_Sell_Stock_Twice.cpp
GFG_Array_Smallest_Missing_Number.cpp
GFG_Array_Smallest_Missing_Number.cpp
GFG_Array_Smallest_SecondSmallest.cpp
GFG_Array_Smallest_SecondSmallest.cpp
GFG_Array_Split_Add.cpp
GFG_Array_Split_Add.cpp
GFG_Array_SumExist_Count_RotatedArray.cpp
GFG_Array_SumExist_Count_RotatedArray.cpp
GFG_Array_SumExist_RotatedArray.cpp
GFG_Array_SumExist_RotatedArray.cpp
GFG_Array_k_num_with_maximum_frequency.cpp
GFG_Array_k_num_with_maximum_frequency.cpp
GFG_Array_minFind_Rotated.cpp
GFG_Array_minFind_Rotated.cpp
GFG_Circular_Linked_List_Exchange_First_Last.cpp
GFG_Circular_Linked_List_Exchange_First_Last.cpp
GFG_Circular_Linked_List_Implementation.cpp
GFG_Circular_Linked_List_Implementation.cpp
GFG_Circular_Linked_List_Sorted_Insert.cpp
GFG_Circular_Linked_List_Sorted_Insert.cpp
GFG_Linked_List_Add2_Numbers_LL.cpp
GFG_Linked_List_Add2_Numbers_LL.cpp
GFG_Linked_List_Add_1_to_LL.cpp
GFG_Linked_List_Add_1_to_LL.cpp
GFG_Linked_List_Alter_Odd_Even.cpp
GFG_Linked_List_Alter_Odd_Even.cpp
GFG_Linked_List_Count_Node.cpp
GFG_Linked_List_Count_Node.cpp
GFG_Linked_List_Delete_Alternate.cpp
GFG_Linked_List_Delete_Alternate.cpp
GFG_Linked_List_Delete_Duplicate.cpp
GFG_Linked_List_Delete_Duplicate.cpp
GFG_Linked_List_Delete_Every_K_Node.cpp
GFG_Linked_List_Delete_Every_K_Node.cpp
GFG_Linked_List_Delete_IF_Right_Greater.cpp
GFG_Linked_List_Delete_IF_Right_Greater.cpp
GFG_Linked_List_Delete_M_after_N.cpp
GFG_Linked_List_Delete_M_after_N.cpp
GFG_Linked_List_Delete_by_KEY.cpp
GFG_Linked_List_Delete_by_KEY.cpp
GFG_Linked_List_Delete_entire_LIST.cpp
GFG_Linked_List_Delete_entire_LIST.cpp
GFG_Linked_List_Duplicate_Deletion_Unsorted.cpp
GFG_Linked_List_Duplicate_Deletion_Unsorted.cpp
GFG_Linked_List_Implementation.cpp
GFG_Linked_List_Implementation.cpp
GFG_Linked_List_Length_Even_Odd.cpp
GFG_Linked_List_Length_Even_Odd.cpp
GFG_Linked_List_Length_Find_Recur_Iter.cpp
GFG_Linked_List_Length_Find_Recur_Iter.cpp
GFG_Linked_List_Loop_Length.cpp
GFG_Linked_List_Loop_Length.cpp
GFG_Linked_List_Loop_detection.cpp
GFG_Linked_List_Loop_detection.cpp
GFG_Linked_List_Merge_2_sorted_LL_Reverse.cpp
GFG_Linked_List_Merge_2_sorted_LL_Reverse.cpp
GFG_Linked_List_Middle_Node.cpp
GFG_Linked_List_Middle_Node.cpp
GFG_Linked_List_Move_Last_to_head.cpp
GFG_Linked_List_Move_Last_to_head.cpp
GFG_Linked_List_Nth_Node.cpp
GFG_Linked_List_Nth_Node.cpp
GFG_Linked_List_Nth_node_from_end.cpp
GFG_Linked_List_Nth_node_from_end.cpp
GFG_Linked_List_Pair_wise_Swap.cpp
GFG_Linked_List_Pair_wise_Swap.cpp
GFG_Linked_List_Pairwise_Swap_Changing_Links.cpp
GFG_Linked_List_Pairwise_Swap_Changing_Links.cpp
GFG_Linked_List_Pallindrome_Check.cpp
GFG_Linked_List_Pallindrome_Check.cpp
GFG_Linked_List_Remove_Duplicate_Sorted.cpp
GFG_Linked_List_Remove_Duplicate_Sorted.cpp
GFG_Linked_List_Reverse_Alter_K.cpp
GFG_Linked_List_Reverse_Alter_K.cpp
GFG_Linked_List_Reverse_K_nodes.cpp
GFG_Linked_List_Reverse_K_nodes.cpp
GFG_Linked_List_Reverse_List.cpp
GFG_Linked_List_Reverse_List.cpp
GFG_Linked_List_Rotate_List.cpp
GFG_Linked_List_Rotate_List.cpp
GFG_Linked_List_Sagregate_Even_Odd.cpp
GFG_Linked_List_Sagregate_Even_Odd.cpp
GFG_Stack_Delete_Mid.cpp
GFG_Stack_Delete_Mid.cpp
GFG_Stack_Find_Min.cpp
GFG_Stack_Find_Min.cpp
GFG_Stack_Infix_2_Postfix.cpp
GFG_Stack_Infix_2_Postfix.cpp
GFG_Stack_Next_Greater_Element.cpp
GFG_Stack_Next_Greater_Element.cpp
GFG_Stack_Next_greater_Frequency.cpp
GFG_Stack_Next_greater_Frequency.cpp
GFG_Stack_Paranthesis_Balancing.cpp
GFG_Stack_Paranthesis_Balancing.cpp
GFG_Stack_Postfix_2_Infix.cpp
GFG_Stack_Postfix_2_Infix.cpp
GFG_Stack_Prefix_2_Infix.cpp
GFG_Stack_Prefix_2_Infix.cpp
GFG_Stack_Reverse_Individual_Words.cpp
GFG_Stack_Reverse_Individual_Words.cpp
GFG_Stack_Stack_Reverse.cpp
GFG_Stack_Stack_Reverse.cpp
GFG_Stack_Stack_Sorting.cpp
GFG_Stack_Stack_Sorting.cpp
View all files
About
Solutions of standard algorithmic problems
Topics
algorithms
array
circular-linked-list
data-structures
hackerrank
linked-list
queue
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.