Тёмный

Ice Cream Parlor HackerRank solution | Two Sum LeetCode Solution 

JAVAAID - Coding Interview Preparation
Подписаться 37 тыс.
Просмотров 19 тыс.
50% 1

Опубликовано:

 

22 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
@JavaAidTutorials
@JavaAidTutorials 5 лет назад
Hey Every one, If you find this tutorial helpful, please do not forget to like, comment, share and It would be great if you can leave your feedback about the tutorial, as I have put a lot of hard work to make things easy for you. Thanks ..!!
@prernadutta2595
@prernadutta2595 4 года назад
I wish I could explain in words how useful these tutorials are!
@JavaAidTutorials
@JavaAidTutorials 4 года назад
Thanks for such a lovely ❤️ comments.😊
@munazzainamulhaque8863
@munazzainamulhaque8863 4 года назад
Such a detailed explanation...very well formatted....thanks sir!
@satyadodda2386
@satyadodda2386 3 года назад
U r awesome ue explanations are perfect thanku sir upload more videos on coding
@JavaAidTutorials
@JavaAidTutorials 3 года назад
Thank you, I will
@dhrutijoshi3701
@dhrutijoshi3701 3 года назад
Your videos are amazing and always come up with clarity ...which makes our problem statement clear and make ourselves easy to understand the logic ......keep doing .... waiting for many videos on hackerank , leetcode and other platform 🙏
@JavaAidTutorials
@JavaAidTutorials 3 года назад
So nice of you
@behrouzm9045
@behrouzm9045 3 года назад
Thank you for the solution and the subtitle ;)
@chrispure7461
@chrispure7461 2 года назад
Do you know if there are any variations of two sum problems in hacker rank or leetcode? I want to look all different types of two-sum problems.Thanks
@sunnysharma5635
@sunnysharma5635 4 года назад
Sir how do you succeed in solving all problem and how much it take to solve by you
@JavaAidTutorials
@JavaAidTutorials 4 года назад
I have also not solved all the problems on hackerrank 😜 but trying my best to do it. Honestly some problem I solved in less than the time which I take to explain on my channel.😜 and for some problem, I also took several hours to get a better solution. solving a problem is not difficult but getting the optimized version of it may be challenging which mostly consumes time. Will see, if people are interested maybe I can make a video on that topic too. I have already answered this question on quora, you can refer the same and check out my other answers as well on the similar topic(hope that may give you answer to most of the query which you have in your mind). www.quora.com/How-much-time-should-it-take-to-solve-a-problem-in-HackerRank-medium-level/answer/Kanahaiya-Gupta-2
@apekshask3918
@apekshask3918 3 года назад
Sir didn't get the if(j!=null) condition on line 28. Shouldn't we compare the key value with y in the 'if' condition? Or check just if y value is present in the map in the 'if' condition?
@devprakash4671
@devprakash4671 3 года назад
great solution !
@JavaAidTutorials
@JavaAidTutorials 3 года назад
thanks 😊
@rishabhdubey4842
@rishabhdubey4842 5 лет назад
Thankyou sir for the solution and explanation
@JavaAidTutorials
@JavaAidTutorials 5 лет назад
Thanks for the feedback @Rishabh
@sayantanray9595
@sayantanray9595 4 года назад
nice one!!! helpful
@JavaAidTutorials
@JavaAidTutorials 4 года назад
thanks a lot. I really appreciated your effort, for providing feedback on multiple videos.
@codingfreek5737
@codingfreek5737 5 лет назад
Awesome explanation dude..!!
@JavaAidTutorials
@JavaAidTutorials 5 лет назад
Thank you..:)
@sharvyahmed
@sharvyahmed 3 года назад
Awesome dude!
@JavaAidTutorials
@JavaAidTutorials 3 года назад
Glad you think so!
@shivampathania2607
@shivampathania2607 3 года назад
Sir one doubt for first test case we need 1,4 and we got 3,4 after y=m-x can u pls explain me how we got 1.4 in first test case 🙏
@priyanshunarayan1761
@priyanshunarayan1761 3 года назад
ArrayList p=new ArrayList(); int x=0; int i=0; int b[]=new int[2]; for(int j:arr) p.add(j); for(i=0;i
@prathameshchatorikar5019
@prathameshchatorikar5019 4 года назад
Awesome
@JavaAidTutorials
@JavaAidTutorials 4 года назад
Thanks 😊
@akhilverma1347
@akhilverma1347 5 лет назад
nice explanation
@JavaAidTutorials
@JavaAidTutorials 5 лет назад
Thanks @Akhil :)
@AMARSINGH-lj4rd
@AMARSINGH-lj4rd 4 года назад
Thanks !!!
@JavaAidTutorials
@JavaAidTutorials 4 года назад
Welcome!
@mahboobkhan6813
@mahboobkhan6813 5 лет назад
thanks sir
@JavaAidTutorials
@JavaAidTutorials 5 лет назад
Welcome..:)
@RameezBhimani
@RameezBhimani 4 года назад
What if the key you are trying to enter in the dictionary is already present?
@mert_kaan_yilmaz
@mert_kaan_yilmaz 4 года назад
Even if it is, you would only change its value, namely its index number. Also if i'm not wrong it imposibble since the problem statement says: There will always be a unique solution.
@amitamola2014
@amitamola2014 3 года назад
@@mert_kaan_yilmaz This solution might be old, but they have given sample cases with duplicates
@cesarvspr
@cesarvspr 3 года назад
your hash logic doesnt work very well in some cases
@cesarvspr
@cesarvspr 3 года назад
it works very well, I was wrong.
@cesarvspr
@cesarvspr 3 года назад
sorry
@stanislawpalka9015
@stanislawpalka9015 Год назад
Very inefficient algorithms. Can be donne much faster!
Далее
New Year Chaos HackerRank Solution
23:56
Просмотров 52 тыс.
Ice cream parlor
16:51
Просмотров 885
Separate the Numbers HackerRank Solution
19:25
Просмотров 25 тыс.
The Greenwich Meridian is in the wrong place
25:07
Просмотров 802 тыс.
How To Solve HackerRank Drawing Book Problem
11:00
Просмотров 17 тыс.