## Backtracking

##### Longest Path of Consecutive Numbers in 2D Array

Given a 2D array of integers, return the length of the longest path of consecutive numbers that can be formed. The path can start and end at any position in the array.

50
Dec 13
##### Backtracking – All Possible Permutations

This problem is about backtracking, or generating all possible permutations of a given set of distinct integers. For example, if the input is [1,2,3], then the output should be [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]].

94
Dec 13
##### Possible subsets of a set of distinct integers

This problem asks us to return all possible subsets of a given set of distinct integers. For example, if the input is [1,2,3], then the output should be all possible subsets of those integers: , [1,2], [1,2,3], [1,3], , [2,3], and .

106
Dec 12
##### 2D Array - Longest Path of Consecutive Integers

This technical problem deals with finding the longest path of consecutive integers in a 2D array, starting from the top left corner. The path can move up, down, left, or right.

80
Dec 12
##### Get all permutations of a string

This problem asks you to write a function that returns all possible permutations of a given string. For example, given the input string "abc", the function should return the following six permutations : "abc", "acb", "bac", "bca", "cab", and "cba".

86
Dec 10
##### Find the Longest Path of Consecutive Numbers in a 2D Array

Given a 2D array of integers, this algorithm finds the length of the longest path of consecutive numbers that can be formed in the array. The path can start and end at any position in the array.

71
Dec 10
##### All possible subsets of distinct integers

Given a set of distinct integers, this algorithm will return all possible subsets of those integers.

82
Dec 10
##### All Possible Subsets of a Set of Distinct Integers

Given a set of distinct integers, this algorithm returns all possible subsets. The subsets must be in non-descending order, and the solution set must not contain duplicate subsets.

59
Dec 07