Sourav Singh Diaries
Sourav Singh Diaries
  • Видео 69
  • Просмотров 694 686
Lesson 3 : Breadth First Search in Javascript | Graph | Intuition to Code | BFS Traversal
Welcome back to our series on graph algorithms!
In this lesson, we dive deep into the Breadth First Search (BFS) algorithm, a fundamental technique for traversing graphs and trees. Whether you’re preparing for coding interviews or looking to enhance your problem-solving skills, understanding BFS is crucial !
00:00 Intro
00:52 What is BFS traversal / Levels
04:10 Intuition 1 behind using Queue
05: 47 Intuition 2
07:05 Algorithm Dry Run
10:20 Pseudo Code
14:12 Live Code in Javascript
20:05 What's next
🌍💻 I am a software engineer working at Amazon, previously worked at Disney+Hotstar with an overall experience of around 7 years. Welcome to Sourav Singh Diaries 🪄
Connect :
LinkedIn : www.linkedin.com/i...
Просмотров: 125

Видео

Lesson 2 : Graph Database vs In-memory graphs | Why do we learn graph data structure ?
Просмотров 11821 час назад
Welcome to Lesson 2 of our Graph Data Structures series! 🎓 In this video, we explore some differences between using a Graph Database and managing In-Memory Graphs in your applications. We'll also dive into why mastering graph data structures is crucial for modern software development. What you'll learn: - Graph Databases: What are they? - In-Memory Graphs - The pros and cons of using graph data...
Lesson 1 : Graphs Representation in JavaScript | Adjacency List and Matrix | Concept | Live Code
Просмотров 33621 час назад
Welcome to Lesson 1 of our Graph Data Structures series! 🚀 In this video, we dive into the fundamentals of graph representation in JavaScript. We'll cover two popular approaches for representing graphs: Adjacency Lists and Adjacency Matrices. What you'll learn: The basics of graphs and how they're used in computer science. The difference between adjacency lists and adjacency matrices. Step-by-s...
From 3 LPA to 60+ LPA! Cognizant to Uber 🚀 | How he cracked the tough tech interview at Uber ?
Просмотров 6 тыс.Месяц назад
In this episode, I sit down with my friend, a software engineer now working at Uber, to discuss his inspiring journey from a service-based company (Cognizant) to landing a coveted role at one of the top tech giants, Uber. He shares how he went from earning ₹3 LPA to an big ₹60 LPA! We talk about the strategies he used, the mindset shifts, and how he cracked the interview process at a Tier 1 pro...
How to get a Tech Job in this Tough Market ! Winner Mentality 🔥 | My Resume, Cold DMs
Просмотров 1,5 тыс.Месяц назад
In this video, I share my resumes, cold DMs, and some underrated advice I’ve learned along the way. If you’re a someone looking to break into competitive tech roles, this video is for you ! I'll also dive into the current job market, how to stand out even when opportunities are tough, and tips to keep a winner's mentality throughout the process. 💡 What You’ll Learn: Where to build resumes Cold ...
Facebook's first contribution to Browser API | Event loop fix | Deep Frontend Series | Episode-1
Просмотров 1,2 тыс.2 месяца назад
Welcome to the first episode of the Deep Frontend Series! 🎉 In this video, we explore Meta's (then Facebook's) first ever contribution to the browser ecosystem with the isInputPending API, designed to improve responsiveness to user input. The time it takes for an interaction to go from the user input event (such as clicking a button or typing in a box) that triggered it to being completely rend...
Master the Famous 2-Sum Problem in JavaScript | Asked in Amazon, Google | Visualize and Live Code
Просмотров 5552 месяца назад
The Two Sum problem solved in Javascript. You will be able to visualise and live code couple of variations of the problem. Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice. You can return the answer in any order. 00:0...
How to traverse DOM tree 🔥 | Meta Interview Question | Big frontend dev | DSA in Javascript
Просмотров 1,1 тыс.2 месяца назад
This problem will help you understand how DOM Tree traversal can be done. The variation and the same problem has been asked in Meta. Question : Given two same DOM tree A, B, and an Element a in A, find the corresponding Element b in B. By corresponding, we mean a and b have the same relative position to their DOM tree root. Question practice link on bigfrontend dev : bigfrontend.dev/problem/fin...
How to create Event Emitter in JS | Asked in Meta, Microsoft | JS Coding | DSA in JavaScript
Просмотров 1,1 тыс.3 месяца назад
Event Emitter Problem Link : bigfrontend.dev/problem/create-an-Event-Emitter (Big Frontend Dev) In this video, we Live code the solution for creating an Event Emitter Class. This problem was asked in interviews at Microsoft, Meta, Tiktok, Flipkart and is a good example of how data structures can be used to solve a problem in JS. const emitter = new Emitter() It should support event subscribing....
How to create Linked List in Javascript | DSA in Javascript Series
Просмотров 5883 месяца назад
Linked List in Javascript | Lesson 2 | DSA in Javascript Series Welcome to the second lesson in DSA in Javascript Series In this video we cover how to write / implement Linked List in Javascript. 00:00 Intro to LinkedList 01:50 Code I am releasing the DSA series in parts and all videos will be part of a playlist : 1. Initial few videos will strengthen your fundamentals on how to build common da...
Arrays in Javascript (1D and 2D) | DSA in Javascript Series
Просмотров 9483 месяца назад
Arrays in Javascript (1D and 2D) | DSA in Javascript | Lesson 1 Welcome to the first lesson in DSA in Javascript Series In this video we cover how to write 1D and 2D Arrays in Javascript. I am releasing the DSA series in parts and all videos will be part of a playlist : 1. Initial few videos will strengthen your fundamentals on how to build common data structures like Array (1D, 2D), Linked Lis...
An *Eventful* Day in Life of Software Engineer at Amazon in Bangalore #amazon #bangalore
Просмотров 2,8 тыс.3 месяца назад
Day in Life of Software Engineer at Amazon in Bangalore A small video on how a life of a software engineer looks like. Software engineer vlog Amazon software engineer vlog Connect : LinkedIn : www.linkedin.com/in/sourav-singh-6b57b5101/ Instagram : sourav_singh_diaries For career consultations : topmate.io/sourav_singh11 For business queries : singhsourav206@gmail.com
Biggest Tech Outage | Basics explained | Microsoft | Crowdstrike
Просмотров 7623 месяца назад
Biggest outage in World. A faulty software update causes havoc worldwide for airlines, hospitals and governments. The update caused technological havoc worldwide on Friday, grounding flights, knocking down some financial companies and news outlets, and disrupting hospitals, small businesses and government offices. 00:00 What Happened 00:40 Who's behind - Crowdstrike 01:55 Falcon Sensor and it's...
How I cracked Frontend Engineer Interviews at Amazon, Disney+ Hotstar, Swiggy and more
Просмотров 108 тыс.3 месяца назад
This video takes you through the strategy I followed to prepare for frontend engineer interviews at Amazon, Swiggy, Disney Hotstar and many more startup companies. 00:00 Intro 00:44 Javascript Concepts 02:52 Data Structures Algo 04:08 Web Optimisation 05:41 Browser, HTML, CSS 08:00 Golden Resource 10:00 Frontend System Design 11:04 Project Round 13:36 How to use these Resources 14:15 Outro Conn...
How Much Do Youngsters Spend in Bangalore? | Lifestyle & Expenses Revealed | Part-1
Просмотров 35 тыс.3 месяца назад
How Much Do Youngsters Spend in Bangalore? | Lifestyle & Expenses Revealed | Part-1
From Engineer to Actor, Director, Content Creator | Bangalore | Passion to Profession
Просмотров 3,6 тыс.4 месяца назад
From Engineer to Actor, Director, Content Creator | Bangalore | Passion to Profession
Asking strangers their Salary and Profession in Bangalore - Part 1
Просмотров 240 тыс.4 месяца назад
Asking strangers their Salary and Profession in Bangalore - Part 1
People’s opinion on Bangalore | What Do You Like About Living in #bangalore ?
Просмотров 15 тыс.4 месяца назад
People’s opinion on Bangalore | What Do You Like About Living in #bangalore ?
Unlimited Mango Meal in Malleshwaram | Closes after May month #malleshwaram #bangalore #mangomela
Просмотров 3,3 тыс.5 месяцев назад
Unlimited Mango Meal in Malleshwaram | Closes after May month #malleshwaram #bangalore #mangomela
Asking strangers their RENT in Bangalore | MG Road Edition
Просмотров 196 тыс.5 месяцев назад
Asking strangers their RENT in Bangalore | MG Road Edition
Exploring HSR LAYOUT BENGALURU | Vada Pao | Misal Pao | Chaitini x Gavran Misal #hsrlayout #vadapav
Просмотров 3,2 тыс.5 месяцев назад
Exploring HSR LAYOUT BENGALURU | Vada Pao | Misal Pao | Chaitini x Gavran Misal #hsrlayout #vadapav
Famous 4AM Biryani in Hoskote - Mani Dum Biryani - Full Video #hoskote #hoskotebiryani
Просмотров 6065 месяцев назад
Famous 4AM Biryani in Hoskote - Mani Dum Biryani - Full Video #hoskote #hoskotebiryani
Exploring Phoenix Mall of Asia | Asia's Largest Mall | Bangalore | India | Vlog | 4K | Walking Tour
Просмотров 1 тыс.5 месяцев назад
Exploring Phoenix Mall of Asia | Asia's Largest Mall | Bangalore | India | Vlog | 4K | Walking Tour
Early Morning Cricket 🏏 🔥 | Bangalore | Mini Vlog | Sunday | Aaj milwata hoon kuch dosto se
Просмотров 4275 месяцев назад
Early Morning Cricket 🏏 🔥 | Bangalore | Mini Vlog | Sunday | Aaj milwata hoon kuch dosto se
How I optimised the payment page at Disney+ Hotstar | Cumulative Layout Shift 🔥
Просмотров 5 тыс.7 месяцев назад
How I optimised the payment page at Disney Hotstar | Cumulative Layout Shift 🔥
Concurrency fundamentals Every Programmer MUST Know | Threads, Processes, and Parallelism
Просмотров 3488 месяцев назад
Concurrency fundamentals Every Programmer MUST Know | Threads, Processes, and Parallelism
Discover the Magic of Dubai | 4K | Follow your fire | #dubai Travel Music #dubaivlog #burjkhalifa
Просмотров 4238 месяцев назад
Discover the Magic of Dubai | 4K | Follow your fire | #dubai Travel Music #dubaivlog #burjkhalifa
The Snow Tripping #snow #trip #musicshorts
Просмотров 1482 года назад
The Snow Tripping #snow #trip #musicshorts
Auto Retry Network calls - using Javascript 🔥 #javascript #javascripttutorial #javascriptengineer
Просмотров 4,3 тыс.3 года назад
Auto Retry Network calls - using Javascript 🔥 #javascript #javascripttutorial #javascriptengineer
Why do Seasons occur on Earth ? 🔥| Solstices #season #solstice #wintersolstice
Просмотров 1573 года назад
Why do Seasons occur on Earth ? 🔥| Solstices #season #solstice #wintersolstice

Комментарии

  • @Dogsoverpeople2000
    @Dogsoverpeople2000 10 часов назад

    Lol they have to pay income tax tho

  • @llegenda-r3c
    @llegenda-r3c 2 дня назад

    Sir I am confused a lot. Currently learning React and understanding it well but can build my own logic. Can I do DSA with Java or javascript cause companies only ask with Cpp Java. Pls tell me me sir how can I build my logic in coding

    • @sourav_singh_diaries
      @sourav_singh_diaries 2 дня назад

      I would say irrespective of it, you should learn Java. And since you are learning React, Learn JS. When it comes to doing DSA, Use any of them, it doesnt matter much. Your logic building will come with practice, doesnt matter which language you use. I suggest people to learn Java anyways as it teaches lot about OOPS, even JS uses OOPS but as you said some companies do ask Java. So try to master both. Use any of them in DSA

  • @tanishkagupta6864
    @tanishkagupta6864 3 дня назад

    Thank you so much for the content please keep going

  • @gayathiri202
    @gayathiri202 4 дня назад

    Even alternate medical doctors get very low salary after 10 years of study.

  • @AbhishekB.k-q8e
    @AbhishekB.k-q8e 4 дня назад

    10:53

  • @jhonsnow534
    @jhonsnow534 5 дней назад

    Keep going

  • @New_Movie_Watch
    @New_Movie_Watch 6 дней назад

    i'm interested for frontend role please can you tell me should i really need to learn trees and graphs for frontend interview to crack coding round or just linear dsa with dp is enough? I have strong understanding of frontend libraries and animation tools

  •  6 дней назад

    Amazon me work life balance kesa hai? I think frontend specific role pe to jada on call issues nhi hote hoge?

  • @haha7836hahah
    @haha7836hahah 8 дней назад

    I have a good resume but still not getting interviews

  • @80hazarkeshoeshain
    @80hazarkeshoeshain 8 дней назад

    As a recruiter I can vouch for all of their salaries. They are telling the truth. FYI Walmart pays good amount of stocks so their overall salaries are high always.

  • @PawanKumar-nn6oy
    @PawanKumar-nn6oy 9 дней назад

    Clear and concise information 🙏🏼

  • @sourav_singh_diaries
    @sourav_singh_diaries 9 дней назад

    Core of this is : A service can fetch the part of Google maps from Graph Database and then run the shortest path algo locally in memory. Why can’t the Graph database directly run the algo on itself ? • Latency: Fetching data from a database can introduce latency, especially for large datasets. When performing real-time computations like shortest path queries, the delay from network calls to the database can slow down the user experience. In-memory processing can significantly reduce response times. • Query Complexity: While graph databases are optimized for certain queries, more complex operations (like multi-hop queries, or those involving additional constraints) may require multiple interactions with the database, increasing overall execution time.

  • @sourav_singh_diaries
    @sourav_singh_diaries 9 дней назад

    Assignment: What changes will you make in code if we assume the input given is for Undirected Graph ? Hint : You will have to assume edge : [a,b] is undirected edge. So your matrix or list should add entry for (b,a) edge as well.

  • @elsomate6653
    @elsomate6653 9 дней назад

    Thanks for this content Really appreciate ❤

  • @gangstaboy5912
    @gangstaboy5912 9 дней назад

    Bhaiya i ma in first year of college and have less marks in 10 and 12 so I will only be shortlist for service based company but I wanted to work hard and get in good company. How can I achieve it please give me guidance.

    • @sourav_singh_diaries
      @sourav_singh_diaries 9 дней назад

      Your 10th and 12th results would mean nothing. So work hard and develop skills that can actually get you a job

  • @rohanchoudhary5523
    @rohanchoudhary5523 11 дней назад

    Thanks Sourav to share these amazing resources , will start practicing for frontend interviews

  • @lostsoul4317
    @lostsoul4317 11 дней назад

    That kid thinking yeah I'm rich in his mind 😂😂

  • @lostsoul4317
    @lostsoul4317 11 дней назад

    I earn 26 LPA as a company secretary in HUL

  • @avi8034
    @avi8034 12 дней назад

    Is there only one video of Aridam?

  • @saikumargatla4706
    @saikumargatla4706 14 дней назад

    This video is amust watch for a starter. Bohot kuch sikhne mila ye video se. Next video how do you understand the source code and approach making a project. Waiting for your video.

  • @astharana3074
    @astharana3074 16 дней назад

    Very helpful 🙌

  • @subrotobiswas4u
    @subrotobiswas4u 17 дней назад

    What a video man! Respect ❤

  • @sukhwinder101
    @sukhwinder101 20 дней назад

    Neurosurgeons have like salary 60L/month --- roughly 80k per surgery with 3~4 surgery per day with 20 days working a month.. add OPD charges in addition :P

  • @shylajabasavaraj7313
    @shylajabasavaraj7313 20 дней назад

    Disgusting to listen to them.really engineering students are earning just 30000pm.allthere people you r talking to are outsiders in bangalore.wosh all can earn to that extent.

  • @shylajabasavaraj7313
    @shylajabasavaraj7313 20 дней назад

    Maybe too much hype ,all companies will not pay more than 4.5lac pa.

  • @SaikatJana-b8n
    @SaikatJana-b8n 21 день назад

    Very good Vlog 👍

  • @Allthingslearningg
    @Allthingslearningg 21 день назад

    Ye saara kuch krne me kitne waqt lagega?

  • @rabiultva1262
    @rabiultva1262 22 дня назад

    Chaitini is love

  • @NaveenMachani
    @NaveenMachani 24 дня назад

    Nice 👌 interview. Iam from Bangalore. Feel proud to see you interview people. All the best!

  • @NaveenMachani
    @NaveenMachani 24 дня назад

    Nice 👍 interview. All the best in ur RUclips.

  • @soumadip_banerjee
    @soumadip_banerjee 27 дней назад

    ❤❤❤

  • @Geeta3237
    @Geeta3237 27 дней назад

    Where are TCS , Infosys,wipro, and capgemani engineers? Who works for only2-3 lpa as intern😂

  • @chayadevir1745
    @chayadevir1745 27 дней назад

    Find out the salary from other facilities .In Bangalore most of them are not having good salary for there qualification.

  • @sriharikamariyala1931
    @sriharikamariyala1931 28 дней назад

    all of that resources and studying part is ok, but how to reach till interview round??????

  • @everythingx4516
    @everythingx4516 29 дней назад

    Hi Sourav Sir , is this last video of DSA Series (Total 5 videos ) ??

    • @sourav_singh_diaries
      @sourav_singh_diaries 29 дней назад

      @@everythingx4516 No I am preparing for it, I will find time and upload more. Hard to balance this along with office work

    • @sourav_singh_diaries
      @sourav_singh_diaries 29 дней назад

      @@everythingx4516 Graph videos on its way

  • @gokulsn8909
    @gokulsn8909 Месяц назад

    Nice topic

  • @khubaibtech7925
    @khubaibtech7925 Месяц назад

    Hello bro instaid please

  • @bestproductsamazon8744
    @bestproductsamazon8744 Месяц назад

    6 year's ka gap ho gya hai kya Mai back kr sakta hu MCA kr chuke hai

  • @amandixit2668
    @amandixit2668 Месяц назад

    Can you please list some good Aptitude and Logical Reasoning Resources?

  • @JyotiRanjanDash-bk7pp
    @JyotiRanjanDash-bk7pp Месяц назад

    I had done DSA in C++... should I shift to Js ?Will it create a problem? But It will take a hell lot of time to master as I had solved 500+ lc questions in c++

    • @sourav_singh_diaries
      @sourav_singh_diaries Месяц назад

      Wait wait, if you have solved in C++ already no need to switch, but that doesn’t mean you should not learn JS. JS is important for frontend. You can use c++ for dsa round

  • @tejasvishnoi1926
    @tejasvishnoi1926 Месяц назад

    Saurav bhai, firstly thankyou so much for bringing in such a resourceful content. ✅ Just wanted to say even if you're not getting massive viewership but the niche you've picked fills a big void in YT community, one day you'll definitely make it big here. Waiting for another video

  • @insanemotivation321
    @insanemotivation321 Месяц назад

    Hi sir, Your content is so good. I am Teja a professional thumbnail designer. Can I make thumbnails for your channel? If you are interested please let me know.

  • @tgayush1424
    @tgayush1424 Месяц назад

    He speaks so fast

  • @ashhar7284
    @ashhar7284 Месяц назад

    Bhaiya, the discord link has been expired. Pls share it.

  •  Месяц назад

    So, do Bangaloreans make 12-15 lakhs per year on starting jobs? It's mind-boggling, really. How can people live in that city and make 1 - 2 lakhs a year?

  • @sunilpatidar8609
    @sunilpatidar8609 Месяц назад

    how much dsa is required

    • @sourav_singh_diaries
      @sourav_singh_diaries Месяц назад

      As you see in video, there's definitely atleast one round of DSA in FAANG or any tech giant. So prepare accordingly, and that means you need to be well versed in fundamentals of DP, Trees, Recursion, Graphs, Strings, Arrays. May be start with this : www.teamblind.com/post/new-year-gift---curated-list-of-top-75-leetcode-questions-to-save-your-time-OaM1orEU

    • @vishalmane3139
      @vishalmane3139 Месяц назад

      alot

  • @MitaliMaurya-k4x
    @MitaliMaurya-k4x Месяц назад

    As a fresher applying for frontend roles, I have experience with HTML, CSS, JS, React, and Tailwind, and have built projects from scratch. Do I need to create extraordinary projects to get hired by large product-based companies, or will regular frontend projects like e-commerce or blog websites suffice if I have a strong understanding of frontend development? if you could please reply!

    • @sourav_singh_diaries
      @sourav_singh_diaries Месяц назад

      @@MitaliMaurya-k4x I have linked a projects resource you can explore in this video description

    • @sourav_singh_diaries
      @sourav_singh_diaries Месяц назад

      @@MitaliMaurya-k4x ruclips.net/video/-vFD4UC68ug/видео.htmlsi=YAZDfh-OI3u7aI1_

    • @MitaliMaurya-k4x
      @MitaliMaurya-k4x Месяц назад

      @@sourav_singh_diaries thankyou!!