Тёмный
Yogesh & Shailesh (CodeLibrary)
Yogesh & Shailesh (CodeLibrary)
Yogesh & Shailesh (CodeLibrary)
Подписаться
This channel is run by Yogesh and Shailesh (Twin Brothers).
Here we provide the following contents:

1) Solution editorial of top handpicked DSA problems that were asked in Interviews of Big IT Companies.
2) Guidance Video
3) Off Campus Drive
4) Podcasts
5) CTC Breakdown
6) Vlogs
Friend's Trip to Chikkamagaluru | VLOG 🤩
10:59
8 месяцев назад
My BANGALORE FLAT TOUR 🏠
9:43
Год назад
Комментарии
@yt_goluyadav
@yt_goluyadav День назад
Bhai tum samjhate Aacha ho bs samjhaya mt kro
@RUCHITAPANDIT-cv8tl
@RUCHITAPANDIT-cv8tl 5 дней назад
@CodeLibrary can you explain when we take array as 1, 2, 3, 2, 4 the output for this is coming 3 5 how
@anirbandutta5436
@anirbandutta5436 5 дней назад
Criteria Kaya hai just pay ka
@nikhilrajbhar131
@nikhilrajbhar131 8 дней назад
jhantu explanation
@mr.rahulrj
@mr.rahulrj 10 дней назад
Thoda pani pe leta hu, bohot pyaas lagi hai🤡
@singhscribe7450
@singhscribe7450 11 дней назад
Bhai mtt bna videos bht bekaar explanation h.
@GaneshBhutekar-nu1gd
@GaneshBhutekar-nu1gd 11 дней назад
I watched it 2-3 times before I fully understood the approach. I'm tired.
@bhatiasatwik
@bhatiasatwik 12 дней назад
sale "Shorted" nai "sorted" hota hai
@domnicdaniel5110
@domnicdaniel5110 13 дней назад
I not able to understand your language but i understand your code and logic thank you😊
@ajvlogs1501
@ajvlogs1501 14 дней назад
i think its not the optimized approach as we are using nested loops
@praveensingh8800
@praveensingh8800 14 дней назад
Thank you bhaiya ji 😊 Mein iss question mein bahut der se laga hua tha but logic build hi nhi hora tha
@hashcodez757
@hashcodez757 16 дней назад
Brother you must have explained the brute force first. And why it fails then you should have told the optimized one.
@AyushKumar-dn9if
@AyushKumar-dn9if 17 дней назад
Best explanation
@mohammadsalim2397
@mohammadsalim2397 21 день назад
brother, your explanation style is great but one request give us a sample of java code also
@Lalit-nu8jq
@Lalit-nu8jq 21 день назад
bhaiya nodejs karna chaiye ya expressjs?
@user-xn9xo4rm3z
@user-xn9xo4rm3z 22 дня назад
bhai nachna sa jayada batana ma dhayn dedeta usa sa jayada view aa sakta ha
@RashmiRashmi-rw4ek
@RashmiRashmi-rw4ek 23 дня назад
Thank you so much brother
@vaibhavyadav1678
@vaibhavyadav1678 25 дней назад
I don't understand how is it a graph question?
@rajendertanwar1881
@rajendertanwar1881 26 дней назад
Nice❤
@dishanayak3092
@dishanayak3092 26 дней назад
Preparation video link please
@vanshjain5960
@vanshjain5960 27 дней назад
couldn't find a good video for this problem yet
@srikantamunda3196
@srikantamunda3196 27 дней назад
Kon sa college se software engineering Kiya tha
@naseerkhan7507
@naseerkhan7507 29 дней назад
Aap twins hai kya bhaiya
@Ybash2979
@Ybash2979 Месяц назад
great explanation
@user-xn9xo4rm3z
@user-xn9xo4rm3z Месяц назад
worst explanation ever if not able to give intution then do not make the video for time pas
@black_jack_meghav
@black_jack_meghav Месяц назад
the best solutions videos on yt. no nonsense, to the point short sweet. thanks men, you guys deserve more subs!!
@Ankitforyou-00099
@Ankitforyou-00099 Месяц назад
Wrong h bhai kya bakwas karta hai run karke bta bhai .
@shayonmozumdar2869
@shayonmozumdar2869 Месяц назад
very nice explanation , bhaiya, thank you!!!
@rahulahirwar6785
@rahulahirwar6785 Месяц назад
Bhai tum chhor do yaar padhana, aadhi chize to tum explain bhi nahi krte ho ki konsa variable kahan se initialize ho raha or kya initial value hai...
@ubutarr9393
@ubutarr9393 Месяц назад
Fake as hell , the company every year in OA ask the same 3 qsn present on leetcode , the OA platform is dog shit , where if you will include bits/stdc++ no test cases will run , it will show empty , but if you include each header by its file then it will include , worst ever , their ctc breakup would also be scam 🤮🤮🤮🤢🤢
@i_am_groot3787
@i_am_groot3787 Месяц назад
it fails for 10 9 8 as even if we takes 9 food daily we will not left with enough food to survive sunday
@mind_blazed
@mind_blazed Месяц назад
question wording dekhkke logic build nhi hota . dsa jm rha but cp nhi
@user-es9ig4no6c
@user-es9ig4no6c Месяц назад
khud ka hi revision chal raha tha
@bhaveshjhamtani1642
@bhaveshjhamtani1642 Месяц назад
To everybody who is struggling #include<iostream> #include<vector> #include<algorithm> using namespace std; long long availableWood(vector<int> &arr , int n , int mid) { long long woodCount = 0; for (int i = 0 ; i<n ; i++) { if (arr[i] > mid) { woodCount += arr[i] - mid; } } return woodCount; } int maxHeight(vector<int> &arr , int n , int m) { int start = 0; int ans = 0; int end = *max_element(arr.begin(),arr.end()); while(start<=end) { int mid = start+(end-start)/2; if (availableWood(arr,n,mid) >= m) { ans = mid; start = mid + 1; } else { end = mid - 1; } } return ans; } int main() { int n,m; cin>>n>>m; vector<int> arr(n); for (int i = 0 ; i<n ; i++) { cin>>arr[i]; } cout<<maxHeight(arr,n,m); } This solution which I have written is 100 percent correct Your possible mistakes :: 1) use long long instead of int 2). use vector instead of array
@mr_varshney2004
@mr_varshney2004 Месяц назад
Can students of different colleges participate together as a team members
@Beast-AreHumans
@Beast-AreHumans Месяц назад
you both lokes same
@rizwanafridi6419
@rizwanafridi6419 Месяц назад
Informative
@NayanMongia-pm3ho
@NayanMongia-pm3ho Месяц назад
worst explanation just pasted the code from chat gpt, chat gpt has same code
@sarojdalai6830
@sarojdalai6830 Месяц назад
😅😊
@user-yf9fo2pg5e
@user-yf9fo2pg5e Месяц назад
kya dikkat hai hindi me samjane me
@gadgetsandhacks7161
@gadgetsandhacks7161 Месяц назад
My observation: here DP solution is not a good choice because at each step we are greedily returning either the max height or the max value
@iamnoob7593
@iamnoob7593 Месяц назад
very good explanation , Thank you
@j5v133
@j5v133 Месяц назад
Hi, is this building BLR26 or 27?
@vishnupriyaarora
@vishnupriyaarora Месяц назад
Hi Shailesh and Yogesh, love your videos! What's the best way to contact you?
@BACSShaileshShettar
@BACSShaileshShettar Месяц назад
the code provided in video is wrong. below is correct code. class Solution { boolean isSumTree(Node root) { boolean[] ans=new boolean[1]; ans[0]=true; int res=recurse(root,ans); return ans[0]; } static int recurse(Node root,boolean[] ans) { if (root==null) return 0; int left=recurse(root.left,ans); int right=recurse(root.right,ans); int sum=left+right; if (sum!=root.data && sum!=0) ans[0]=false; root.data+=sum; //System.out.println(root.data); return root.data; } }
@aashishranjan2184
@aashishranjan2184 Месяц назад
bhaiya itna fast kyo bolte ho
@user-td6pe9li8g
@user-td6pe9li8g Месяц назад
for avoiding extra space due to recursive calls, we can use min-heap.
@karanrana097
@karanrana097 Месяц назад
Thanks
@rizvi6467
@rizvi6467 Месяц назад
great brother
@VarunVerma-n3n
@VarunVerma-n3n Месяц назад
Great video bro, understood in one go 👍