HackerRank Solutions
7.49K subscribers
17 photos
1 file
100 links
All HackerRank practice problem tutorials in java
Download Telegram
Hey Coding Lover,

I bet most of you would have come across this one of the very important interview question to ๐—ฐ๐—ต๐—ฒ๐—ฐ๐—ธ ๐˜„๐—ต๐—ฒ๐˜๐—ต๐—ฒ๐—ฟ ๐˜๐˜„๐—ผ ๐˜€๐˜๐—ฟ๐—ถ๐—ป๐—ด๐˜€ ๐—ฎ๐—ฟ๐—ฒ ๐—ฎ๐—ป ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฟ๐—ฎ๐—บ ๐—ผ๐—ณ ๐—ฒ๐—ฎ๐—ฐ๐—ต ๐—ผ๐˜๐—ต๐—ฒ๐—ฟ?
But there are few who know the best answer for this problem.

In this video, we have explained the ๐—บ๐—ผ๐˜€๐˜ ๐—ฒ๐—ณ๐—ณ๐—ถ๐—ฐ๐—ถ๐—ฒ๐—ป๐˜ ๐˜„๐—ฎ๐˜† ๐˜๐—ผ ๐—ฐ๐—ต๐—ฒ๐—ฐ๐—ธ ๐—ถ๐—ณ ๐˜๐˜„๐—ผ ๐˜€๐˜๐—ฟ๐—ถ๐—ป๐—ด๐˜€ ๐—ฎ๐—ฟ๐—ฒ ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฟ๐—ฎ๐—บ๐˜€

https://youtu.be/VuDduk6BRfk

Would really appreciate your feedback like dislike, comment, etc. on my video.
Wishing you and your family a ๐Ÿ”ฅHAPPY DIWALI ๐Ÿ”ฅ
I wish you all will get your dream job soon.
Till then keep learning, keep coding ๐Ÿ˜
๐—ง๐—ผ๐—ฝ ๐Ÿฑ ๐—”๐—น๐—ด๐—ผ๐—ฟ๐—ถ๐˜๐—ต๐—บ๐˜€ ๐—˜๐˜ƒ๐—ฒ๐—ฟ๐˜† ๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ฒ๐—ฟ ๐— ๐˜‚๐˜€๐˜ ๐—ž๐—ป๐—ผ๐˜„
๐—Ÿ๐—ถ๐—ป๐—ธ: https://www.youtube.com/watch?v=S8V444xdNvM&list=PLSIpQf0NbcCmpERN24EDswwdAnOKNVF_9&ab_channel=JAVAAID-CodingInterviewPreparation
Master the ๐——๐˜†๐—ป๐—ฎ๐—บ๐—ถ๐—ฐ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ด Skills by solving most common ๐——๐˜†๐—ป๐—ฎ๐—บ๐—ถ๐—ฐ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ด ๐—ถ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„ ๐—พ๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป๐˜€.

Once you practice these problems, you will be able to solve most of the ๐—ฑ๐—ฝ ๐—ฝ๐—ฟ๐—ผ๐—ฏ๐—น๐—ฒ๐—บ๐˜€ ๐˜„๐—ต๐—ถ๐—ฐ๐—ต ๐—ณ๐—ผ๐—น๐—น๐—ผ๐˜„๐˜€ ๐˜๐—ต๐—ฒ ๐˜€๐—ถ๐—บ๐—ถ๐—น๐—ฎ๐—ฟ ๐—ฝ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป.

๐—ฃ๐—น๐—ฎ๐˜†๐—น๐—ถ๐˜€๐˜ : https://www.youtube.com/playlist?list=PLSIpQf0NbcClDpWE58Y-oSJro_W3LO8Nb
๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป ๐˜๐—ต๐—ฒ ๐—บ๐—ผ๐˜€๐˜ ๐—ฒ๐—ฎ๐˜€๐—ถ๐—ฒ๐˜€๐˜ ๐˜„๐—ฎ๐˜† ๐—ฎ๐—น๐—ด๐—ผ๐—ฟ๐—ถ๐˜๐—ต๐—บ ๐˜๐—ผ ๐—ถ๐—บ๐—ฝ๐—น๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—บ๐—ฒ๐—ฟ๐—ด๐—ฒ ๐˜€๐—ผ๐—ฟ๐˜
https://youtu.be/XPc45qfcSWw
๐—”๐—บ๐—ฎ๐˜‡๐—ถ๐—ป๐—ด ๐˜๐—ฒ๐—ฐ๐—ต๐—ป๐—ถ๐—พ๐˜‚๐—ฒ to ๐˜€๐—ผ๐—น๐˜ƒ๐—ฒ ๐—บ๐—ผ๐—ฟ๐—ฒ ๐˜๐—ต๐—ฎ๐—ป ๐Ÿญ๐Ÿฌ ๐—พ๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป๐˜€ ๐—ผ๐—ป ๐—น๐—ฒ๐—ฒ๐˜๐—ฐ๐—ผ๐—ฑ๐—ฒ which is mentioned in this video.
In this video, I have explained ๐—ง๐˜„๐—ผ ๐—ฃ๐—ผ๐—ถ๐—ป๐˜๐—ฒ๐—ฟ ๐—ง๐—ฒ๐—ฐ๐—ต๐—ป๐—ถ๐—พ๐˜‚๐—ฒ which is the optimal way to solve problems related to arrays, strings and linked list in ๐—ข(๐—ก) time.
There are a lot of coding interview problems which can be solved by using this technique in an optimized way.
https://youtu.be/2wVjt3yhGwg
I hope all of you know, how ๐—ฟ๐—ฒ๐—ฐ๐˜‚๐—ฟ๐˜€๐—ถ๐—ผ๐—ป ๐˜„๐—ผ๐—ฟ๐—ธ๐˜€ ๐—ถ๐—ป๐˜๐—ฒ๐—ฟ๐—ป๐—ฎ๐—น๐—น๐˜†?
Now it is time to dig deeper and understand ๐—ฟ๐—ฒ๐—ฐ๐˜‚๐—ฟ๐˜€๐—ถ๐—ผ๐—ป ๐˜๐˜†๐—ฝ๐—ฒ๐˜€ ๐—ฎ๐—ป๐—ฑ ๐—ฑ๐—ถ๐—ณ๐—ณ๐—ฒ๐—ฟ๐—ฒ๐—ป๐—ฐ๐—ฒ ๐—ฏ๐—ฒ๐˜๐˜„๐—ฒ๐—ฒ๐—ป ๐—ถ๐˜.
In this video, I have tried my best to explain the ๐—ต๐—ฒ๐—ฎ๐—ฑ ๐—ฎ๐—ป๐—ฑ ๐˜๐—ฎ๐—ถ๐—น ๐—ฟ๐—ฒ๐—ฐ๐˜‚๐—ฟ๐˜€๐—ถ๐—ผ๐—ป ๐—ฎ๐—ป๐—ฑ ๐˜๐—ต๐—ฒ ๐—ฑ๐—ถ๐—ณ๐—ณ๐—ฒ๐—ฟ๐—ฒ๐—ป๐—ฐ๐—ฒ ๐—ฏ๐—ฒ๐˜๐˜„๐—ฒ๐—ฒ๐—ป ๐—ถ๐˜, ๐˜ƒ๐—ถ๐—ฎ ๐—ฎ๐—ป๐—ถ๐—บ๐—ฎ๐˜๐—ถ๐—ผ๐—ป.
which will help you in ๐˜ƒ๐—ถ๐˜€๐˜‚๐—ฎ๐—น๐—ถ๐˜‡๐—ถ๐—ป๐—ด ๐—ฟ๐—ฒ๐—ฐ๐˜‚๐—ฟ๐˜€๐—ถ๐˜ƒ๐—ฒ ๐—ฎ๐—น๐—ด๐—ผ๐—ฟ๐—ถ๐˜๐—ต๐—บ๐˜€.
Here are the outlines for easy navigation:-
๐Ÿ‘‰ [00:41] Head Recursion
๐Ÿ‘‰ [06:14] Tail Recursion
๐Ÿ‘‰ [11:23] Head VS Tail Recursion
๐Ÿ‘‰ [15:02] Demo
๐Ÿ‘‰ [18:06] Quick Quiz?
๐—ก๐—ผ๐˜๐—ฒ: if you find it useful, please do not forget to like and share your feedback in comments.

https://youtu.be/lG6HxO7cDRw
Last year I have received couple of messages that if there is a way to get educative courses in less price but we did not have answer at that time.

This year we have gone ahead and asked educative team to provide discount for ๐—๐—”๐—ฉ๐—”๐—”๐—œ๐—— ๐—ณ๐—ฎ๐—บ๐—ถ๐—น๐˜† ๐—บ๐—ฒ๐—บ๐—ฏ๐—ฒ๐—ฟ and they were ready to provide ๐—ฒ๐˜…๐˜๐—ฟ๐—ฎ ๐Ÿญ๐Ÿฌ% ๐—ผ๐—ณ๐—ณ ๐—ผ๐—ป ๐—ฎ๐—น๐—น ๐˜๐—ต๐—ฒ๐—ถ๐—ฟ ๐—ฝ๐—น๐—ฎ๐—ป๐˜€.
If anyone of you are planning to ๐—ฏ๐˜‚๐˜† ๐—ฒ๐—ฑ๐˜‚๐—ฐ๐—ฎ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฐ๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ /๐˜€๐˜‚๐—ฏ๐˜€๐—ฐ๐—ฟ๐—ถ๐—ฝ๐˜๐—ถ๐—ผ๐—ป
you can use our ๐—น๐—ถ๐—ป๐—ธ --> educative.io/javaaid
๐—ฌ๐—ผ๐˜‚ ๐˜„๐—ถ๐—น๐—น ๐—ด๐—ฒ๐˜ ๐—ฒ๐˜…๐˜๐—ฟ๐—ฎ ๐Ÿญ๐Ÿฌ% ๐—ผ๐—ณ๐—ณ ๐—ผ๐—ป ๐—ฎ๐—น๐—น ๐˜†๐—ผ๐˜‚๐—ฟ ๐˜€๐˜‚๐—ฏ๐˜€๐—ฐ๐—ฟ๐—ถ๐—ฝ๐˜๐—ถ๐—ผ๐—ป ๐—ผ๐—ป ๐˜๐—ผ๐—ฝ ๐—ผ๐—ณ ๐˜„๐—ต๐—ฎ๐˜๐—ฒ๐˜ƒ๐—ฒ๐—ฟ ๐˜๐—ต๐—ฒ ๐—ผ๐—ณ๐—ณ๐—ฒ๐—ฟ ๐—ถ๐˜€ ๐—ฟ๐˜‚๐—ป๐—ป๐—ถ๐—ป๐—ด ๐—ถ๐—ป ๐˜†๐—ผ๐˜‚๐—ฟ ๐—ฐ๐—ผ๐˜‚๐—ป๐˜๐—ฟ๐˜† And it will automatically applied at the checkout.
I hope it will help people to save some extra bugs.
Here are list of couple of courses which are really good and can help you to get your dream job-
๐—–๐—ผ๐—ฑ๐—ฒ๐—ฟ๐˜‚๐˜€๐˜: ๐—›๐—ฎ๐—ฐ๐—ธ๐—ถ๐—ป๐—ด ๐˜๐—ต๐—ฒ ๐—–๐—ผ๐—ฑ๐—ถ๐—ป๐—ด ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„
๐—ด๐—ฟ๐—ผ๐—ธ๐—ธ๐—ถ๐—ป๐—ด-๐—ฑ๐˜†๐—ป๐—ฎ๐—บ๐—ถ๐—ฐ-๐—ฝ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ด-๐—ฝ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€-๐—ณ๐—ผ๐—ฟ-๐—ฐ๐—ผ๐—ฑ๐—ถ๐—ป๐—ด-๐—ถ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„๐˜€
๐—ด๐—ฟ๐—ผ๐—ธ๐—ธ๐—ถ๐—ป๐—ด-๐˜๐—ต๐—ฒ-๐—ฐ๐—ผ๐—ฑ๐—ถ๐—ป๐—ด-๐—ถ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„
๐—ด๐—ฟ๐—ผ๐—ธ๐—ธ๐—ถ๐—ป๐—ด-๐—ฑ๐˜†๐—ป๐—ฎ๐—บ๐—ถ๐—ฐ-๐—ฝ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ด-๐—ฝ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€-๐—ณ๐—ผ๐—ฟ-๐—ฐ๐—ผ๐—ฑ๐—ถ๐—ป๐—ด-๐—ถ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„๐˜€ ๐—ฆ๐˜†๐˜€๐˜๐—ฒ๐—บ ๐—š๐—ฟ๐—ผ๐—ธ๐—ธ๐—ถ๐—ป๐—ด ๐˜๐—ต๐—ฒ ๐—ฆ๐˜†๐˜€๐˜๐—ฒ๐—บ ๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„