Find maximum number that can be formed using digits of a given number | GeeksforGeeks

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


This video is contributed by Sagar Khurana

Please Like, Comment and Share the Video among your friends.

Also, Subscribe if you haven't already! :)
Рекомендации по теме
Комментарии
Автор

What is a complexity of efficient algo? O(n)?

MikePrice
Автор

sir, By second method space complexity, will be more or less?? will u please explain.

ASinha
Автор

Sir, complete the table by analysing the above datas?
(Number of digits, maximum number, method to find the maximum number) please do you know Malayalam

vaigamolsss
Автор

Nice one dude
U are doing a great job

AuthorD
Автор

When you had the string, why didn't you just sort it and print it. O(1)
No = 1047593772
string = 1047593772
sorted string = 9777543210

Resnick
Автор

if i want to number to between 0 to 10000 how can i define that condition here

meghaagarwal
Автор

not a clear explanation audio sound worst

ajithlakshmanan
Автор

TLDR; Use counting sort..simple as that!

krypto