- 84
- 52 971
CodingDeft
เข้าร่วมเมื่อ 4 พ.ค. 2012
Two Sum - LeetCode 1 | JavaScript
Explaining Two Sum LeetCode problem in JavaScript!
🚀 For any clarifications, join Discord: discord.gg/8nZY3huQD3
💻 Code: www.codingdeft.com/leetcode/0001-two-sum/
Follow me:
+ LinkedIn: www.linkedin.com/in/abhishek-e-h-38132ba0/
+ X: abhieh9
Chapters
0:00 Problem statement
1:22 Brute force solution
4:07 Optimal solution
8:15 JavaScript implementation
#leetcode #algorithm #datastructures
🚀 For any clarifications, join Discord: discord.gg/8nZY3huQD3
💻 Code: www.codingdeft.com/leetcode/0001-two-sum/
Follow me:
+ LinkedIn: www.linkedin.com/in/abhishek-e-h-38132ba0/
+ X: abhieh9
Chapters
0:00 Problem statement
1:22 Brute force solution
4:07 Optimal solution
8:15 JavaScript implementation
#leetcode #algorithm #datastructures
มุมมอง: 244
วีดีโอ
Binary Search Tree Delete | JavaScript Data Structures
มุมมอง 714 ชั่วโมงที่ผ่านมา
We discuss the Binary Search Tree in Javascript. Learn how to delete a node from the binary search tree 🚀 For any clarifications, join Discord: discord.gg/uwtqrsazYn 🌍 Website: www.codingdeft.com/ 💻 Code: github.com/collegewap/yt-js-dsa Follow me: LinkedIn: www.linkedin.com/in/abhishek-e-h-38132ba0/ X: abhieh9 #dsa #javascript #algorithm #datastructures
Binary Search Tree Min and Max | JavaScript Data Structures
มุมมอง 521 ชั่วโมงที่ผ่านมา
We discuss the Binary Search Tree in Javascript. Learn how to search find minimum and maximum value in a binary search tree 🚀 For any clarifications, join Discord: discord.gg/uwtqrsazYn 🌍 Website: www.codingdeft.com/ 💻 Code: github.com/collegewap/yt-js-dsa Follow me: LinkedIn: www.linkedin.com/in/abhishek-e-h-38132ba0/ X: abhieh9 #dsa #javascript #algorithm #datastructures
Binary Search Tree Breadth First Traversal | JavaScript Data Structures
มุมมอง 814 วันที่ผ่านมา
We discuss the Binary Search Tree in Javascript. Learn how to search do breadth-first search traversal or level order traversal. 🚀 For any clarifications, join Discord: discord.gg/uwtqrsazYn 🌍 Website: www.codingdeft.com/ 💻 Code: github.com/collegewap/yt-js-dsa Follow me: LinkedIn: www.linkedin.com/in/abhishek-e-h-38132ba0/ X: abhieh9 #dsa #javascript #algorithm #datastructures
Binary Search Tree Depth First Traversal | JavaScript Data Structures
มุมมอง 614 วันที่ผ่านมา
We discuss the Binary Search Tree in Javascript. Learn how to search do depth-first search in 3 different ways: Pre-order, In order, and post-order traversals. 🚀 For any clarifications, join Discord: discord.gg/uwtqrsazYn 🌍 Website: www.codingdeft.com/ 💻 Code: github.com/collegewap/yt-js-dsa Follow me: LinkedIn: www.linkedin.com/in/abhishek-e-h-38132ba0/ X: abhieh9 #dsa #javascript ...
Binary Search Tree Search | JavaScript Data Structures
มุมมอง 428 วันที่ผ่านมา
We discuss the Binary Search Tree in Javascript. Learn how to search a node in a Binary search tree 🚀 For any clarifications, join Discord: discord.gg/uwtqrsazYn 🌍 Website: www.codingdeft.com/ 💻 Code: github.com/collegewap/yt-js-dsa Follow me: LinkedIn: www.linkedin.com/in/abhishek-e-h-38132ba0/ X: abhieh9 #dsa #javascript #algorithm #datastructures
Binary Search Tree Insert | JavaScript Data Structures
มุมมอง 428 วันที่ผ่านมา
We discuss the Binary Search Tree in Javascript. Learn how to insert a node into a Binary search tree 🚀 For any clarifications, join Discord: discord.gg/uwtqrsazYn 🌍 Website: www.codingdeft.com/ 💻 Code: github.com/collegewap/yt-js-dsa Follow me: LinkedIn: www.linkedin.com/in/abhishek-e-h-38132ba0/ X: abhieh9 #dsa #javascript #algorithm #datastructures
Binary Search Tree Class | JavaScript Data Structures
มุมมอง 1128 วันที่ผ่านมา
We discuss the Binary Search Tree in Javascript. Learn how to implement binary search tree class. 🚀 For any clarifications, join Discord: discord.gg/uwtqrsazYn 🌍 Website: www.codingdeft.com/ 💻 Code: github.com/collegewap/yt-js-dsa Follow me: LinkedIn: www.linkedin.com/in/abhishek-e-h-38132ba0/ X: abhieh9 #dsa #javascript #algorithm #datastructures
Binary Search Tree Overview | JavaScript Data Structures
มุมมอง 2228 วันที่ผ่านมา
We discuss the Binary Search Tree in Javascript. Learn an overview of Binary Search Tree data structure 🚀 For any clarifications, join Discord: discord.gg/uwtqrsazYn 🌍 Website: www.codingdeft.com/ 💻 Code: github.com/collegewap/yt-js-dsa Follow me: LinkedIn: www.linkedin.com/in/abhishek-e-h-38132ba0/ X: abhieh9 #dsa #javascript #algorithm #datastructures
Tree Overview | JavaScript Data Structures
มุมมอง 528 วันที่ผ่านมา
We discuss the Trees in Javascript. Learn an overview of Tree data structure 🚀 For any clarifications, join Discord: discord.gg/uwtqrsazYn 🌍 Website: www.codingdeft.com/ 💻 Code: github.com/collegewap/yt-js-dsa Follow me: LinkedIn: www.linkedin.com/in/abhishek-e-h-38132ba0/ X: abhieh9 #dsa #javascript #algorithm #datastructures
Hash Table Collision | JavaScript Data Structures
มุมมอง 9หลายเดือนก่อน
We discuss the Hash table in Javascript. Learn how to solve hash table collision 🚀 For any clarifications, join Discord: discord.gg/uwtqrsazYn 🌍 Website: www.codingdeft.com/ 💻 Code: github.com/collegewap/yt-js-dsa Follow me: LinkedIn: www.linkedin.com/in/abhishek-e-h-38132ba0/ X: abhieh9 #dsa #javascript #algorithm #datastructures
Hash Table Implementation | JavaScript Data Structures
มุมมอง 16หลายเดือนก่อน
We discuss the Hash table in Javascript. Learn how to implement the Hash table 🚀 For any clarifications, join Discord: discord.gg/uwtqrsazYn 🌍 Website: www.codingdeft.com/ 💻 Code: github.com/collegewap/yt-js-dsa Follow me: LinkedIn: www.linkedin.com/in/abhishek-e-h-38132ba0/ X: abhieh9 #dsa #javascript #algorithm #datastructures
Hash Table Overview | JavaScript Data Structures
มุมมอง 12หลายเดือนก่อน
We discuss the Hash table in Javascript. Learn an overview of Hash Table internals 🚀 For any clarifications, join Discord: discord.gg/uwtqrsazYn 🌍 Website: www.codingdeft.com/ 💻 Code: github.com/collegewap/yt-js-dsa Follow me: LinkedIn: www.linkedin.com/in/abhishek-e-h-38132ba0/ X: abhieh9 #dsa #javascript #algorithm #datastructures
Doubly Linked List | JavaScript Data Structures
มุมมอง 162 หลายเดือนก่อน
We discuss the Linked list in JavaScript. Learn about the doubly linked list and its advantages. 🚀 For any clarifications, join Discord: discord.gg/uwtqrsazYn 🌍 Website: www.codingdeft.com/ 💻 Code: github.com/collegewap/yt-js-dsa Follow me: LinkedIn: www.linkedin.com/in/abhishek-e-h-38132ba0/ X: abhieh9 #dsa #javascript #algorithm #datastructures
Linked List as Queue | JavaScript Data Structures
มุมมอง 202 หลายเดือนก่อน
We discuss the Linked list in JavaScript. Learn how to use Linked list as a queue and perform stack operations like enqueue and dequeue. 🚀 For any clarifications, join Discord: discord.gg/uwtqrsazYn 🌍 Website: www.codingdeft.com/ 💻 Code: github.com/collegewap/yt-js-dsa Follow me: LinkedIn: www.linkedin.com/in/abhishek-e-h-38132ba0/ X: abhieh9 #dsa #javascript #algorithm #datastructures
Linked List as Stack | JavaScript Data Structures
มุมมอง 52 หลายเดือนก่อน
Linked List as Stack | JavaScript Data Structures
Linked List with Tail - Implementation | JavaScript Data Structures
มุมมอง 292 หลายเดือนก่อน
Linked List with Tail - Implementation | JavaScript Data Structures
Linked List with Tail - Overview | JavaScript Data Structures
มุมมอง 142 หลายเดือนก่อน
Linked List with Tail - Overview | JavaScript Data Structures
Reversing a Linked List | JavaScript Data Structures
มุมมอง 472 หลายเดือนก่อน
Reversing a Linked List | JavaScript Data Structures
Linked List Search | JavaScript Data Structures
มุมมอง 253 หลายเดือนก่อน
Linked List Search | JavaScript Data Structures
Linked List Remove Value | JavaScript Data Structures
มุมมอง 323 หลายเดือนก่อน
Linked List Remove Value | JavaScript Data Structures
Linked List Remove from Index | JavaScript Data Structures
มุมมอง 243 หลายเดือนก่อน
Linked List Remove from Index | JavaScript Data Structures
Linked List Insert | JavaScript Data Structures
มุมมอง 253 หลายเดือนก่อน
Linked List Insert | JavaScript Data Structures
Linked List Append | JavaScript Data Structures
มุมมอง 443 หลายเดือนก่อน
Linked List Append | JavaScript Data Structures
Linked List Print | JavaScript Data Structures
มุมมอง 93 หลายเดือนก่อน
Linked List Print | JavaScript Data Structures
Linked List Prepend | JavaScript Data Structures
มุมมอง 193 หลายเดือนก่อน
Linked List Prepend | JavaScript Data Structures
Linked List Class | JavaScript Data Structures
มุมมอง 233 หลายเดือนก่อน
Linked List Class | JavaScript Data Structures
Linked List Overview | JavaScript Data Structures
มุมมอง 213 หลายเดือนก่อน
Linked List Overview | JavaScript Data Structures
Circular Queue Implementation | JavaScript Data Structures
มุมมอง 404 หลายเดือนก่อน
Circular Queue Implementation | JavaScript Data Structures
Circular Queue Overview | JavaScript Data Structures
มุมมอง 54 หลายเดือนก่อน
Circular Queue Overview | JavaScript Data Structures
Thanx bro. It really helped.
I am trying learn js but feeling stuck , async , promises call backs + also there are so many array methods 😢😢 dont know what to do
Simple and effective!! Thanks Buddy!
Thank you!!
Thank you so much ❤I was looking for js solution only
Good video Thanks
Thank you for explanation!
thanks
You won't believe me, the amount of days I spent fixing this bug, I was migrating the same app from React App to a Next app. Really appreciate your time and knowledge in this video.
I cant believe this was to hard to find. Fantastic!
Glad you liked it!
Keep on brother ❤
✌
As soon as you said *in index.html*, that clicked my ind and it worked... T.Hanks..
Yeiii 🐤✌️ Include map and reduce function too those are hard for me
In the below program spinner-border is a bootstrap class for showing a spinner. Using setLoading() inside finally block doesn't render the spinner. That's why I need to use this method inside both .then() and .catch(). I don't know why such happening. import { useEffect, useState } from "react"; import axios, { CanceledError } from 'axios'; interface User{ id:number; name:string; } const App = () => { const [users, setUsers] = useState<User[]>([]); const [error, setError] = useState(''); const [isLoading, setLoading] = useState(false); useEffect(() => { const controller = new AbortController(); setLoading(true); axios.get<User[]>("jsonplaceholder.typicode.com/users", {signal: controller.signal}) .then((res)=> { setUsers(res.data); // setLoading(false); }) .catch((e)=>{ console.log(e.name); if (e instanceof CanceledError) return; setError(e.message); // setLoading(false); }) .finally(()=>{ setLoading(false); }) return () => controller.abort(); },[]); return ( <> {error && <p className="text-danger">{error}</p>} {isLoading && <div className="spinner-border"></div>} <ul> {users.map(user => <li key={user.id}>{user.name}</li>)} </ul> </> ); };
Thank you so much! I've had so much trouble with using local storage. Weird how complicated it is, at least for a beginner
Hi, do you have method to checkbox all ?
Nicely explain ❤️
thank you so much sir this help me a lot
Индус-код!!! Костыли!
Thank you
Bro, you are amazing. <3 After 3 hours of searching finally saw your diamond video. <3 <3
It works !! You save my life its so much pain in my ass as a newbie thanks for this ❤❤ you earn my subs ❤️❤️ more tutorials like this ❤❤
Where this existingfruits cam from?
It's a parameter passed to the setState function. It's a local variable, u can name it whatever you want. react.dev/reference/react/Component#setstate
@@codingdeft thank you🙂
excellent work, that's awesome
That is very well explained. I think every detail you described here is on point.
Thanks, this helped me
Thanks!
Welcome!
Thanks a lot bro. Love from Pakistan
Thank you brother
Thanks much
Thanks for such nice video , I was confused now i get the clarity ... thanks again
thank you dear!
Hi, You saying in video at 6:32 "remember we have added 3 seconds of delay" I can't see in the whole Video where you have added 3 seconds delay in application. Could you please tell me where we need to add delay!! Thanks
Yea same. I waited 3s after each letter typing but nothing happens...Also in the network tab, I only see one request that has been sent
At 1:58 is given delay while running an server
THANK YOU SO MUCH (´▽`ʃ♡ƪ)
Thank you for your detailed explanation !
Great video!
спасибо тебе за урок! thank you for the lesson, it helped me!
Thanks a lot
how can solve this problem in onChangeText (react native)?
How do I close a modal by clicking outside when the modal is made with Material UI?
I believe you are using mui (mui.com/components/modal/ ). It handles the closing by itself. You just need to pass the onClose function as shown below example: codesandbox.io/s/91sh0?file=/demo.js
@@codingdeft The first link doesn’t work.
Updated, please try now.
@@codingdeft I got my app to work, thank you so much!
how to access the input elements when we have more input fields In the case of uncontrolled components , Thaks for the explaination sir :)
You may create one reference for each input.
Thanks for the explanation!
How can i write this function for App because its not the same syntax
Much needed. Very nicely explained.
Why me got this ? :: can't access property "axios", cancelToken is undefined, Then I go look at your blog it doesn't work it still cancelToken === unedified
can u share a minimal reproducible example by uploading it to github / codepen / codesandbox?
@@codingdeft now I fixed that OK, but if we slow typing some that it will request right? Maybe fixing by debounce?
Yes, you may refer to this article : www.codingdeft.com/posts/react-debounce-throttle/