Hash Table

Find One Missing Number in a Range

Given an array containing n distinct integers in the range [0, n], one number is missing from the array. Find the missing number.

Read

Check if Duplicate Element Exists in an Array

Given an array of integers, check if the array contains any duplicates.

Read

Find all the Pairs with Given Sum

Given a list of integers, find all pairs with given sum.

Read