#computer-science

Read more stories on Hashnode

Articles with this tag

Single number · Q25:Given a non-empty array of integers nums, every element appears twice except for one. Find that single one. You must implement a...

Combination II · Q21:Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where...

Combination Sum · Q20:Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates...

Permutations · Q18:Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order. Example...

Find Pair given difference · Q17:Given an array Arr[] of size L and a number N, you need to write a program to find if there exists a pair of elements in...

Key Pair · Q16:Given an array Arr of N positive integers and another number X. Determine whether or not there exist two elements in Arr whose sum is...