Coding Interview Questions and answers: Question 1 - Coders Hut

Coding Interview Questions and answers: Question 1

| |

Coding Interview Questions and Answers: Question 1

Today this is the first article of this Coding Interview Question And Answers Series so subscribe us for future articles

this is the coding Problem asked by Microsoft in an interview so let’s see what is it


Given a number in form of a list of digits, return all possible permutations.

For Example:

[1,2,3] Given, should return [[1,2,3,],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]

so you have to find all possible unique permutation of given array/list

First, try to solve by yourself and I am attaching solution below in case you can’t solve, I am attaching solution as per my logic if you have a better solution then share in the comment box

see you in the next article if you like this article then subscribe us for future articles, and share this article with your friends





Top 5 Websites for Free udemy Courses Download (LATEST)

port forwarding free (UPDATED 2019)


Leave a Comment