Print Permutations using Backtracking | Backtracking Interview Problems

preview_player
Показать описание

NADOS also enables doubt support, career opportunities and contests besides free of charge content for learning. In this video, we explain permutations problem using recursion where:

1. You are give a number of boxes (n boxes) and number of non-identical items (r items).
2. You are required to place the items in those boxes and print all such configurations possible.

Items are numbered from 1 to r items.
Note 1 - Number of boxes is greater than number of items, hence some of the boxes may remain empty.

...................................................................................................................................................................

Pepcoding has taken the initiative to provide counselling and learning resources to all curious, skilful and dedicated Indian coders. This video is part of the series to impart industry-level web development and programming skills in the community.

We also provide professional courses with live classes and placement opportunities.

DSA Level 1 and Level 2

Webinar on GATE Preparation

We are also available on the following social media platforms: -

HAPPY PROGRAMMING!
Pep it up.....

#recursion #backtracking #permutations
Рекомендации по теме
Комментарии
Автор

Sir I have request.
That never stop to make videos on recursion and backtracking.
You are genius in teaching field, and dynamic programming.
🥇🥇🥇

knightrec
Автор

if i'd have seen this earlier, a lot of time would have been saved.
thanks a lot

utkarsh_
Автор

Crystal clear thing... that i have got in your explanation ...This is what we are missing on the internet !!!..Keep it up bro..

saurabhambulkar
Автор

a suggestion : sir i program in c++ so when a friend first recommended me these awesome resources i saw java and thought as i dont use java much i wont be able to understand,
but after i watched your videos, the way u explain language doesn't matter the explanations are really thorough, once the concept is clear, anyone can code in a language of their choice .
seeing java may scare some peoples .
Anyways as usual very nice explanation .

curiouswatcher
Автор

Amazing explaination!! Made backtracking so clear to me! Lots of love nd support to pepcoding !!

jiosim
Автор

Sir you explain very well all the topics ....
Especially the algorithm you explain through examples is flawless...

ravitripathi
Автор

Complex things explained in simplest way.

ashishrathod
Автор

Superb and Awesome content+explanation 🔥🔥.
Web and Android ki bhi playlist lao😁

nomadshubham
Автор

Sir khud se dusre type se Kera hai maine bollean array bna li hai and ate time true ker diya jade time backtrack ker diya it means false ker diya aur levl and option

SCRIPTSAG
Автор

Sir this question answer is actually wrong. It's actually not the ncr formulla

CobraAnkit
Автор

Sir, your teaching style is awesome, can you tell me, tentative date of test for placement program, I have already applied to it.

PrashantKumar-ggqd