Rotten Oranges (BFS) | C++ & Java Code

71 Просмотры
Издатель
Video is lengthy due to addition of both C++ and Java Code Explanation ..

SDE sheet: http://bit.ly/takeUforward_SDE
Watch at 1.25x for better experience ..

Visit Relevel at: https://relvl.co/l4y
Use Coupon Code "TAKEUFORWARD" for 15% discount during registration..

upGrad(BD) https://relvl.co/eh5
Urban Company(BD) https://relvl.co/5w0
Vedantu(BD) https://relvl.co/h3t
Curefit(BD) https://relvl.co/d08
Cred(FD) https://relvl.co/fqa
Digit(FD) https://relvl.co/0vy
Razorpay(BE) https://relvl.co/fly
Yellow Messenger(BE) https://relvl.co/wu9
Cred(BE) https://relvl.co/y0h
1mg(BE) https://relvl.co/3x7
Digit(BE) https://relvl.co/wkz

Business Development: https://drive.google.com/file/d/1pW0da00DnJI-bdO0YWWfa6uLnY_xrtDb/view?usp=sharing
Backend Development: https://drive.google.com/file/d/1l_XcHqTypXZfwY2Jo3KLxKvsOUZCSR4v/view?usp=sharing
Frontend Development: https://drive.google.com/file/d/1YQNtwyVGRRRh9wKYl29OSNndbMFYJvvg/view?usp=sharing
---------------------------------------------------------------------------------------------------------------------------
Problem Link: https://leetcode.com/problems/rotting-oranges/
C++: https://github.com/striver79/SDESheet/blob/main/rottenOrangesCpp
Java: https://github.com/striver79/SDESheet/blob/main/rottenOrangesJava
---------------------------------------------------------------------------------------------------------------------------
✅Use coupon-code "STRIVER" for getting 10% on all subscriptions of Unacademy

✅Use coupon-code "TAKEUFORWARD" for getting 15% for all CN courses: https://aff.codingninjas.com/click?o=4&a=5&link_id=24

✅Use coupon-code "TAKEUFORWARD" for getting 10% for all GFG courses: http://bit.ly/tuf_gfgCourse​

✅Please Please SUBSKRIIIBEEEEE the new channel: https://www.youtube.com/channel/UCvEKHATlVq84hm1jduTYm8g

--------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
✅Placement Series: https://www.youtube.com/watch?v=c0_1QnyVYQY&list=PLgUwDviBIf0p4ozDR_kJJkONnb1wdx2Ma
✅Placement Series (Arrays, Sorting..): https://www.youtube.com/watch?v=32Ll35mhWg0&list=PLgUwDviBIf0rPG3Ictpu74YWBQ1CaBkm2
✅Hashing Playlist: https://www.youtube.com/watch?v=dRUpbt8vHpo&list=PLgUwDviBIf0rVwua0kKYlsS_ik_1lyVK_
✅Greedy Playlist: https://www.youtube.com/watch?v=II6ziNnub1Q&list=PLgUwDviBIf0pmWCl2nepwGDO05a0-7EfJ
✅Recursion Playlist: https://www.youtube.com/watch?v=OyZFFqQtu98&list=PLgUwDviBIf0rQ6cnlaHRMuOp4H_D-7hwP
✅Graph Playlist: https://www.youtube.com/watch?v=YTtpfjGlH2M&list=PLgUwDviBIf0rGEWe64KWas0Nryn7SCRWw
✅Two Pointer Playlist: https://www.youtube.com/watch?v=onLoX6Nhvmg&list=PLgUwDviBIf0rBT8io74a95xT-hDFZonNs
✅Binary Search Playlist: https://www.youtube.com/watch?v=WjpswYrS2nY&list=PLgUwDviBIf0qYbL4TBaEWgb-ljVdhkM7R
✅LinkedList Playlist: https://www.youtube.com/watch?v=iRtLEoL-r-g&list=PLgUwDviBIf0r47RKH7fdWN54AbWFgGuii
✅Advanced DS playlist: https://www.youtube.com/watch?v=9uaXG62Y8Uw&list=PLgUwDviBIf0rf5CQf_HFt35_cF04d8dHN
✅Stack&Queue Playlist: https://www.youtube.com/watch?v=GYptUgnIM_I&list=PLgUwDviBIf0oSO572kQ7KCSvCUh1AdILj
✅Greedy Algorithms: https://www.youtube.com/watch?v=II6ziNnub1Q&list=PLgUwDviBIf0pmWCl2nepwGDO05a0-7EfJ

---------------------------------------------------------------------------------------------------------------------------

If you appreciate the channel's work, you can join the family: https://bit.ly/joinFamily​

✅Thumbnail Creator: https://www.linkedin.com/in/rikonakhuli
✅ Striver's Linkedin Profile: https://www.linkedin.com/in/rajarvp/​
✅ Instagram: https://www.instagram.com/striver_79/​
✅Connect with us: https://www.google.com/search?client=firefox-b-d&q=takeuforward+telegram (Use Link in Mobile only, if not works search "takeUforward" in telegram)..


Problem Explanation: 00:00
Promotion: 03:24
Solution: 04:47
Cpp Code: 13:55
Java Code: 19:56



#dsa​ #striver #leetcode
Категория
Язык программирования C++
Комментариев нет.