Skip to content
Recent Posts: Algorithms
Lexicographically next permutation With One swap
Find all subsets of size K from a given number N (1 to N)
Sum of distinct elements among two given sets
Find all possible combinations with sum K from a given number N(1 to N) with the repetition of numbers is allowed
Stable Marriage Problem – Gale–Shapley Algorithm – Java
Insert a node in the given sorted linked list.
Construct the largest number from the given array.
Given an array, find three-element sum closest to Zero
Print sorted unique elements of a given array
Given an array, print all unique subsets with a given sum.