Hi bro welcome back. I have a question why you changed code snippet from cpp to java in your recent videos? Any special reason? Plz answer.😊
@ARYANMITTALАй бұрын
I also was very fond of cpp, due to its speed & easiness to write fast code. But when i started giving Interviews (videos coming soon), saw a new trend, companies now are asking LLD ( this LLd is not just simple oops, design pattern, parking lot kind of problems, nahh nahh) They are mixing LLD with DSA, design a splitwise app, design an LRU cache. Now you might say, okay Aryan, do oops in cpp, whats the big deal?? But then as a next follow up in the same LLD problem, they will have a follow up, now handle concurrency here, and i swear do to multithreading in cpp was a pain, like a real pain. While java has so many concurrent data structures, synchronized keyword, Semaphore by default, Futures, and list goes on and on and on. So i’ll break it down for you: Only DSA : Cpp > java = python Only LLD : Java > cpp > python Only Multithreading : Java >>> cpp > python Why in LLD, java is at the top, because of what everyone understands (when i say everyone, i actually mean the interviewer) You guys are young abhi, and haven’t faced LLD & HLD at that level, but just wanted to make you comfortable with Java (cuz its actually God😂) I also gave beginning interviews in cpp, but soon i got so fed up with cpp due to multi threading, i decided to jump to java & gave all interviews in java. (Everything) I know its long to write the code, but for that the only solution is increasing typing speed. Again, we have multiple other languages like Go, which are god in multi threading. But i wanted a middle ground, which can help me forever. Its the reason, i ended up switching to java, but i am not saying you guys should also do. (In a week’s time, i’ll also start posting all languages code, so code language will not be an issue anymore)🤗
@Flux-e4yАй бұрын
@@ARYANMITTAL ooh cool , crazy
@user-uw5xd2ih1iАй бұрын
@@ARYANMITTAL If a beginner who codes in cpp wants to learn lld+hld in Java, which course or documentation should be preferred
@rajakumar9956Ай бұрын
I switched to java, 1 year ago, exactly for the same reason!
@chiraggill2940Ай бұрын
@@ARYANMITTAL are you also planning to bring some amazing content wrt LLD for intern/job interviews in near future ???
@zoozoo24Ай бұрын
Please take care of your mic. Apart from that great video. Welcome back
@Its_Shubham_NegiАй бұрын
aryan bhaiya todays's lc 4th q is way hard!!
@rishabhjain4446Ай бұрын
Great video bro!
@user-bh9ts7db5r29 күн бұрын
@ARYANMITTAL Hello Aryan Welcome Back! This is a positive critique. First of all,you are moving the screen too much which is making it hard to understand it. I think it was better earlier,like you showed a complete screen and didn't change the focus so much coz most of the part you wanted to say was on the same screen (basically moving the screen too much) Secondly,your image,some of the things that you are writing are not visible coz of the image (same again I prefer the earlier version)
@vinsin4619Ай бұрын
really helpful video, but why did you switch to java as in past videos you taught pbds and other features of cpp, although the logic remains same but reading these syntax is bit difficult that's all. Amazing to see you making videos again.
@ishmeetsinghsaluja4089Ай бұрын
Hi, can you explain why we considering the prefix sum with the lowest value?. If we are at prefix[j], we have to calculate prefix[i] such that prefix[j] - prefix[i] >= k which means prefix[i]
@RamakrishnaFM-he6rsАй бұрын
first person to view
@ARYANMITTALАй бұрын
🫡🫡🙏
@groot257Ай бұрын
Only thing I was not able to think of was, once an index is used it already gave its optimal solution and cant by used later.
@Anonymous____________A72129 күн бұрын
We dont want java We want in cpp only 💘
@rishurana965529 күн бұрын
why we require the smallest value of ps[x] and why not greatest value such that ps[j]-ps[x]>=k , can somebody explain?
@abhimanyuambastha2595Ай бұрын
Your video is blocking some stuff in the video, noticed this is your newer videos. Please see we might miss something important
@sandeepyadav-es9yzАй бұрын
change the mic bro its too distracting
@ARYANMITTALАй бұрын
Ohh shoot😢, thank you so much for pointing it out, i am really sorry, i realized that this dji mic when used & charged simultaneously gives this kind of noise, apologies for this video, next time i’ll for sure take care of this🫂❤️
@satendra6200Ай бұрын
Aare are you alive? password bhol gya tha kya bhai youtube kaa?
@ARYANMITTALАй бұрын
😂😂❤
@harshalyallewarАй бұрын
pleaes dont increase speed of video by yourself in while editing