Data Structures & Algorithms

Open the Lock

Minimum number of turns required to open a lock.

Read

Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts

Find maximum area of a piece of cake after making horizontal and vertical cuts.

Read

Find the Maximum Subarray Sum with Unique Values

Given an array, find the maximum subarray sum with unique values.

Read

Maximum Product of Word Lengths

Given an array of strings, return the maximum value of the product of lengths where two words do not share any common letters.

Read

Minimum Amount of Coins Required to Make up an Amount

You are given an infinite number of coins of different denominations and an amount. Find the minimum number of coins required to make up that amount.

Read

Maximize Sum of Subsequence with Condition

Given an array of integers, maximize sub of subsequence such that the sum of any two elements in the subsequence is greater than or equal to any other element.

Read

Merge k Sorted Linked Lists

Given k sorted linked list, merge those list to form a final sorted linked list.

Read

Sum of Two Integers without Arithmetic Operators

Add two integers without using Arithmetic Operators.

Read