#programming-blogs

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

N Queens · Q23:The n-queens puzzle is the problem of placing n queens on an n x n chessboard such that no two queens attack each other. Given an integer...

Letter combination of a phone number · Q22: Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number...

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