#programming-languages

Read more stories on Hashnode

Articles with this tag

Rat in a maze · Q24:Consider a rat placed at (0, 0) in a square matrix of order N * N. It has to reach the destination at (N - 1, N - 1). Find all...

Permutations Sequence · Q19:The set [1, 2, 3, ..., n] contains a total of n! unique permutations. By listing and labeling all of the permutations in...

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...

Container with the most water · Q15:You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of...