ARRANGE -Arranging Amplifiers | SPOJ Question | Greedy | Love Babbar DSA Sheet | Amazon 🔥 | Yogesh
HTML-код
- Опубликовано: 12 сен 2024
- #greedy #competitiveprogramming #coding #dsa
Hey, Guys in this video I have explained with code how we can solve the problem 'ARRANGE -Arranging Amplifiers'.
CODE-- ideone.com/Vcx42u
Join our Telegram Channel for more Information
🔰 Telegram Channel Link = t.me/CodeLibrary1
🔰 Telegram Discussion Group Link = t.me/CodeLibra...
🔰 Get 10% OFF on all GeeksforGeeks Courses
Coupon Code = CODELIBRARY
🔰 Array Playlist = • Love Babbar DSA 450 Qu...
🔰 String Playlist = • Love Babbar DSA 450 Qu...
🔰 Searching and Sorting Playlist = • Love Babbar DSA 450 Qu...
🔰 Binary Tree Playlist = • Love Babbar DSA 450 Qu...
🔰 Linked List Playlist = • Love Babbar DSA 450 Qu...
🔰 Graph Playlist = • Love Babbar DSA 450 Qu...
🔰 Dynamic Programming Playlist = • Love Babbar DSA 450 Qu...
🔰 Informative Videos = • Informative Videos
🔰 Love Babbar DSA Sheet: drive.google.c...
Follow us on Instagram:
🔰 Shailesh Yogendra : / shaileshyogendra
🔰 Yogesh Yogendra : / i_am_yogesh_here
Follow us on LinkedIn:
🔰 Yogesh Yogendra : / yogesh-yogendra-26bbb518a
🔰 Shailesh Yogendra : / shailesh-yogendra-8b13...
Hope you like it. Comment if you have any doubt
LIKE | SHARE | SUBSCRIBE
With ur excellent explanation. U made this question very easy. 🎉🎉
Thanks a lot 😊
Thanks
lets take 2 3 4 as an example. your answer will give 4 3 2 as result. But correct answer should be 4 2 3. Therfore I think the problem statement might have some issue.
No I thought the same way but what we forget is while calculating 4 3 2 -> 2^3^4, we first calculate 3^4 then we calculate 2^81 which is very larger than 4 2 3 -> 3^2^4 which is 3^16. So whatever they are doing in the question is correct!
Bro make video on which type of algorithms are used for which type of questions 🙏🙏🙏
Thanks 👍
please make video on k centers problem
shouldn't 1 1 1 5 4 3 is the correct answer instead of 1115432 ?
2 2 3 ka correct output 2 3 2 hona chahiye na!! but 3 2 2 aa rha hai
the question says, the values will not repeat
@@sukritkapil9816 except 1
yeah asaan tha
bhai in sb question me while loop q use krte h
Bhai dp ki playlist poori ho gayi hai kya??
Yaa almost
Cost kya hai iski bro
ya 6.6k around
bhai isme agr zero aya in between to wo case kse krege coding ninja pr same yhi question h alg name se but jb wha sinmit kr rha hu to 0 wla case me prblm bta rha h
also count 0's and print them in first
I am doing cp from 6 months with python..but after watching many coders were doing cp with C++..I am comfortable with python..should I need to switch to C++..please help
You can continue with python as well
You have completed the DSA cracker sheet so, are you confident that you can crack amazon?
I am also trying to complete the sheet with the help of your videos
Please answer the question?
-A student of NITS
did you crack it?
or some other good company?
@@fatehpreetsingh1440 did u cracked it??
@@justarandomguy6106 did you cracked it?
@@crazyduniya128 he he