Тёмный
Web Fusion with Bharadwaj
Web Fusion with Bharadwaj
Web Fusion with Bharadwaj
Подписаться
22. Topological Sorting : JAVASCRIPT
10:01
14 дней назад
21. Tarjan's Algorithm : JAVASCRIPT
14:31
14 дней назад
20. Kruskal's Algorithm : JAVASCRIPT
14:49
14 дней назад
19. Bellman-Ford Algorithm : JAVASCRIPT
12:50
14 дней назад
18. Dijkstra's Algorithm : JAVASCRIPT
14:28
14 дней назад
8. Sieve of Eratosthenes : JAVASCRIPT
9:45
14 дней назад
7. Binary Search : JAVASCRIPT
8:52
14 дней назад
6. Linear Search : JAVASCRIPT
6:29
14 дней назад
5. Radix Sort : JAVASCRIPT
17:58
21 день назад
4. Quick Sort : JAVASCRIPT
14:43
21 день назад
3. Counting Sort : JAVASCRIPT
14:22
21 день назад
2. Bubble Sort : JAVASCRIPT
10:15
21 день назад
1. Merge Sort : JAVASCRIPT
19:30
21 день назад
Комментарии
@zanefalcao3230
@zanefalcao3230 2 дня назад
// My solution var topKFrequent = function(arr, k) { let map = new Map(); for(let i=0; i<arr.length; i++){ if(map.has(arr[i])){ map.set(arr[i], map.get(arr[i]) + 1); } else { map.set(arr[i], 1); } } let sortedArray = Array.from(map).sort((a, b) => b[1] - a[1]); let ans = []; for(let i=0; i<k; i++){ ans.push(sortedArray[i][0]); } return ans; };
@kaustubhnegi1838
@kaustubhnegi1838 21 день назад
Is it recommended to start cp with js , coz I was planning to do so.
@code-with-Bharadwaj
@code-with-Bharadwaj 21 день назад
@@kaustubhnegi1838 : It's true that resources are often limited in comparison, and C++ tends to be preferred due to its speed and efficient memory usage. That said, the choice of language is ultimately yours. If you're considering alternatives, JavaScript or Node.js can certainly be strong options. Personally, I prefer JavaScript over Python and Java for its versatility and modern ecosystem. Happy coding!
@code-with-Bharadwaj
@code-with-Bharadwaj 26 дней назад
Please ignore the audio issues for this problem :)
@GAMEOVER-sp4gk
@GAMEOVER-sp4gk 28 дней назад
Sir I am lagging in dp(like backtracking) ..could you please help me sir
@code-with-Bharadwaj
@code-with-Bharadwaj 28 дней назад
@@GAMEOVER-sp4gk I lag a lot too that's why I practice. The more you debug the better you get 🙂 Happy coding !
@code-with-Bharadwaj
@code-with-Bharadwaj 28 дней назад
Please ignore the audio issues for Problem 21 & Problem 22.
@code-with-Bharadwaj
@code-with-Bharadwaj 28 дней назад
Please ignore the audio issues for Problem 21 & Problem 22.
@code-with-Bharadwaj
@code-with-Bharadwaj Месяц назад
Please Ignore the Audio Issue for this one Particular Problem.
@andhikaperdana1638
@andhikaperdana1638 Месяц назад
can i have full code ?
@code-with-Bharadwaj
@code-with-Bharadwaj Месяц назад
Just follow the video. You will get the whole code ! Keep coding 🙂
@chintapramodkumarreddy7281
@chintapramodkumarreddy7281 Месяц назад
Please share GitHub link for this
@RussianPsysoft
@RussianPsysoft Месяц назад
Brilliant solution, thanks for sharing!
@code-with-Bharadwaj
@code-with-Bharadwaj Месяц назад
@@RussianPsysoft : Glad you found the solution useful . Keep coding !
@MR-ww8ce
@MR-ww8ce 2 месяца назад
Hey, you just go for solution, but don't explain the logic behind the solution, seems like just memorized the solution, there is very few DSA channel with javascript, i think if you explain, how to approach a problem then, it will be very useful.
@code-with-Bharadwaj
@code-with-Bharadwaj 2 месяца назад
For some problems I have explained initially how to approach and for some problems I have explained after writing the code whichever way I felt easy ! But I will keep your words in mind !
@hamudxd9497
@hamudxd9497 2 месяца назад
I will follow your series DSA WITH JAVASCRIPT but if langauge is Hindi
@code-with-Bharadwaj
@code-with-Bharadwaj 2 месяца назад
@@hamudxd9497 I wish I knew Hindi. I can sing Hindi songs for sure but surely I can't teach in Hindi. I can teach either in English or in Kannada ! 🙂
@hamudxd9497
@hamudxd9497 2 месяца назад
@@code-with-Bharadwaj Ok Keep it up
@hamudxd9497
@hamudxd9497 2 месяца назад
Sir Agar hindi mai possible ho best hoga
@Asyedabdulrahman33
@Asyedabdulrahman33 2 месяца назад
your content was so in-depth. keep it up. Definitely your channel is going to be successful because no one was there in dsa with js
@code-with-Bharadwaj
@code-with-Bharadwaj 2 месяца назад
Keep Coding
@Asyedabdulrahman33
@Asyedabdulrahman33 2 месяца назад
we want more video like this
@Asyedabdulrahman33
@Asyedabdulrahman33 2 месяца назад
hey bro, you are doing great.
@preetsinghwal5646
@preetsinghwal5646 2 месяца назад
Great content. I was searching for DSA in Javascript. Just one thing, explain the solution as well by voice, that's more interactive. You got a new subscriber
@code-with-Bharadwaj
@code-with-Bharadwaj 2 месяца назад
@@preetsinghwal5646 Thanks and please do check the new playlist if you need an explanation in voice. Keep coding cheers 🙂
@preetsinghwal5646
@preetsinghwal5646 2 месяца назад
@@code-with-Bharadwaj I checked it, you are explaining it very well. Keep up the good work going.
@code-with-Bharadwaj
@code-with-Bharadwaj 2 месяца назад
The Time Complexity is O(log n) and I had mistakenly typed O(n) at the end. 🙂
@code-with-Bharadwaj
@code-with-Bharadwaj 2 месяца назад
I meant the space complexity of the problem would be O(n) not the time complexity of the space complexity is O(n). Please ignore that sentence. :)
@COD_MW007
@COD_MW007 2 месяца назад
Bro, I want to become a java backend web developer but for that I need guidance. Can you help me? Right now, I know the fundamentals and basics of Java, the only portion left for me to master is collections framework, multithreading and stream api, I am working on it side by side, also I have started learning jdbc, MySQL and hibernate framework so that I can interact with the db and then I am planning to also learn servlets and jsp and then proceed to springboot. Is my plan correct, am I leaving something and how should I proceed further??
@code-with-Bharadwaj
@code-with-Bharadwaj 2 месяца назад
@@COD_MW007 : carry on with what you are learning ! 🙂
@priyankjakharia6798
@priyankjakharia6798 3 месяца назад
thanks mate
@code-with-Bharadwaj
@code-with-Bharadwaj 3 месяца назад
@@priyankjakharia6798 : Keep Coding !
@pytannie
@pytannie 3 месяца назад
Thank you..... this is so cool and the tutorial is easy to follow😇
@code-with-Bharadwaj
@code-with-Bharadwaj 3 месяца назад
Glad you found it useful ! Keep Coding
@Jalajasastry
@Jalajasastry 3 месяца назад
Awesome 🎉🎉🎉
@s.ksunny602
@s.ksunny602 3 месяца назад
❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤
@s.ksunny602
@s.ksunny602 3 месяца назад
First reviwe what to do your project work designe after your code started ❤❤❤❤❤
@code-with-Bharadwaj
@code-with-Bharadwaj 3 месяца назад
@@s.ksunny602 what do you mean ?! I didn't get you ?
@code-with-Bharadwaj
@code-with-Bharadwaj 3 месяца назад
One more thing in HTML ( Forgot to mention ) is to move the span tag inside the label tag. That was one more wrong thing! Please correct it or else you won't see the hamburger icon and also toggle🙂
@SatSTAR0
@SatSTAR0 3 месяца назад
any other API which works for hindi songs as well?
@code-with-Bharadwaj
@code-with-Bharadwaj 3 месяца назад
I don't know. There are paid API's that I know. But do not know about the free API. I should research on it! Keep Coding! 🙂🙂
@s.ksunny602
@s.ksunny602 4 месяца назад
wow sir ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤😮😮😮😮😮😮😮😮😮 🙏🙏🙏🙏🙏 thank you
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Keep Coding !
@s.ksunny602
@s.ksunny602 4 месяца назад
wow sir unbilevable ❤❤❤❤❤❤
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Please ignore the Logo for this one Particular Video!
@yaminiyam0326
@yaminiyam0326 4 месяца назад
Happy to see 100 Subscribers🤩 More success to you
@s.ksunny602
@s.ksunny602 4 месяца назад
awosome sir wowwwwwwww
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Glad you found it useful. Keep coding ! 👍
@DeveloperLinux-c3m
@DeveloperLinux-c3m 4 месяца назад
it will be better if you show the browser too, to see changes while applying style
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
From the next video I will 👍
@DeveloperLinux-c3m
@DeveloperLinux-c3m 4 месяца назад
@@code-with-Bharadwaj This project is excellent bro keep it going, all the best
@hellohell143
@hellohell143 4 месяца назад
keep coding bro❤❤
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
🤍
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Approach: Greedy Time Complexity: O(n) Space Complexity: O(m)
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Approach: Hash Map with Mathematical Reduction Time Complexity: O(n) Space Complexity: O(n)
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Approach: Sliding Window Time Complexity: O(n) Space Complexity: O(1)
@EzraSchroeder
@EzraSchroeder 4 месяца назад
Great great great video--love it!!!
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Glad you found it useful!
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Approach: Breadth-First Search (BFS) Time Complexity: O(n) Space Complexity: O(n)
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Approach: Linear Search with Counting Time Complexity: O(n^2) Space Complexity: O(1)
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Approach: Memoized Dynamic Programming Time Complexity: O(n) Space Complexity: O(n)
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Approach: Greedy Time Complexity: O(√n) Space Complexity: O(1)
@IsraelThomas-fv3od
@IsraelThomas-fv3od 4 месяца назад
havent watched the video yet cause its 40 minutes but does this random cat generator go through images on google or do i have to download a bunch of cat pictures and put them on here?
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
I have used 2 different API's to display cat & dog images.
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
"Also, I forgot to mention at the end of the video that I made a mistake in the code. Inside the JS file, the second API call should be: const response = await fetch('www.omdbapi.com/?apikey=${apiKey}&i=${imdbID}');. I forgot to change this one. You can also refer to my GitHub link in the description for the correct code."
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Approach: Dynamic Programming Time Complexity: O(n^2) Space Complexity: O(n^2)
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Approach: Iterative Time Complexity: O(n) Space Complexity: O(1)
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Approach: Backtracking Time Complexity: O(2^n * n) Space Complexity: O(n)
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Approach: Iterative Subset Generation Time Complexity: O(2^n) Space Complexity: O(2^n)
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Approach: Sorting and Slicing Time Complexity: O(q⋅(nlogn+t)) Space Complexity: O(n)
@code-with-Bharadwaj
@code-with-Bharadwaj 4 месяца назад
Approach : Hash Map for Sum of Digits Time Complexity : O(n * d) Space Complexity : O(n)