Team AlgoDaily
Team AlgoDaily
  • 49
  • 141 147
Trees for Coding Interviews
Learn all about trees at algodaily.com/sections/climb-some-trees
Knowledge of trees and tree traversal algorithms are required to understand the inner workings of databases, autocompletion, file directories, and much more. As usual, you'll get a strong overview of what you need to know before we jump into some problems.
Tree traversal algorithms are crucial for understanding how data is organized in many applications. They're used in file systems, compilers, XML parsers, databases and many other places. In this chapter we'll start by giving an overview of what trees are and why they're so useful, and get to know some more advanced patterns prior to jumping into problems!
Переглядів: 432

Відео

Linux Bash Commands Cheat Sheet
Переглядів 27310 місяців тому
Get a bash commands cheat sheet at algodaily.com/lessons/bash-commands-cheat-sheet1
Stacks for Coding Interviews
Переглядів 18410 місяців тому
Learn more about stacks at algodaily.com/lessons/the-gentle-guide-to-stacks
Strings for Coding Interviews
Переглядів 19210 місяців тому
Learn more at algodaily.com/lessons/stringing-together-strings Practice string manipulation at algodaily.com/lessons/string-manipulation-techniques
Arrays For Coding Interviews
Переглядів 55210 місяців тому
Learn more at algodaily.com/lessons/a-gentle-refresher-into-arrays-and-strings Practice array problems at algodaily.com/sections/arrays-interview-questions
Implement a JSON Parser in JS
Переглядів 73810 місяців тому
Try to implement a JSON Parser in JS at algodaily.com/challenges/implement-json-parse In JavaScript by default, there is a method that can parse a given JSON string, and it can be invoked by calling `JSON.parse()`. The way this method works is constructing the JavaScript value or object described by the string. Can you implement your own version of this method, called `parseJSON`, accepting one...
Valid Numeric String
Переглядів 10610 місяців тому
Try to solve this at algodaily.com/challenges/valid-numeric-string You are working as a software engineer at a company that develops a financial trading platform. Your team is working on a new feature that allows users to enter numeric strings into a text field and have them parsed and converted into numbers. One of the requirements for this feature is that the numeric strings must be valid. A ...
Minimum Parentheses Removal
Переглядів 8311 місяців тому
Try to solve at algodaily.com/challenges/minimum-parentheses-removal A string that contains correctly ordered parenthesis `()`, is a valid `parenthesis string`. More specifically, it must meet the following conditions: - It is an empty string or contains only lowercase characters. - It can be written as AB (A concatenated with B), where A and B are valid strings. - It can be written as (A), whe...
New AI Features In AlgoDaily
Переглядів 3011 місяців тому
An overview of the new AI features on algodaily.com
Big Tech vs. Startups for Software Engineers
Переглядів 4053 роки тому
#softwareengineering #programming #faang #career This is a video about Big Tech vs. Startups, pros and cons of both. Visit algodaily.com to land your dream software engineering job!
FANG Interview Problem: Least Missing Positive Number
Переглядів 1,1 тис.3 роки тому
Try to solve this at algodaily.com/challenges/least-missing-positive-number We have an unsorted array of integers such as the following: ```js [0, 3, -1, -2, 1] ``` In the above example, the minimum number is `-2` and the maximum is `3`. If it were sorted, it would look like: ```js [-2, -1, 0, 1, 3] ``` This means there is an `expected range` (defined as the collection of values between the min...
AlgoDaily 60 Second Ad
Переглядів 1813 роки тому
Latest minute long ad for AlgoDaily algodaily.com
How to Prepare for a Technical Coding Interview
Переглядів 2,5 тис.3 роки тому
Read the full guide at: algodaily.com/lessons/how-to-prepare-for-a-technical-interview The AlgoDaily Premium Full Course is now on sale at algodaily.com/subscriptions/discounted
FANG Interview Problem: Contiguous Subarray Sum
Переглядів 1,4 тис.3 роки тому
Full challenge at algodaily.com/challenges/contiguous-subarray-sum Buy the full course, now on sale: algodaily.com/subscriptions/discounted
Understanding Big O Notation and Algorithmic Complexity
Переглядів 4,1 тис.3 роки тому
Find the original tutorial at algodaily.com/lessons/understanding-big-o-and-algorithmic-complexity Visit algodaily.com for more help with landing software engineering jobs
How to Use the Two Pointer Technique
Переглядів 112 тис.3 роки тому
How to Use the Two Pointer Technique
How to Get the Most Of AlgoDaily and Job Applications
Переглядів 1 тис.3 роки тому
How to Get the Most Of AlgoDaily and Job Applications
All Fundamental Data Structures in 40 Minutes
Переглядів 2,4 тис.3 роки тому
All Fundamental Data Structures in 40 Minutes
Tips to get a job
Переглядів 794 роки тому
Tips to get a job
How do I get a role in DevOps?
Переглядів 424 роки тому
How do I get a role in DevOps?
How do I improve the SEO of my resume?
Переглядів 3984 роки тому
How do I improve the SEO of my resume?
What's the most important skill for a developer to have?
Переглядів 964 роки тому
What's the most important skill for a developer to have?
Is the software engineering industry saturated?
Переглядів 3194 роки тому
Is the software engineering industry saturated?
Should I pay a professional to edit my resume?
Переглядів 424 роки тому
Should I pay a professional to edit my resume?
What programming language should I learn?
Переглядів 664 роки тому
What programming language should I learn?
How to become a better engineer?
Переглядів 674 роки тому
How to become a better engineer?
What's the best language to learn for app development?
Переглядів 1654 роки тому
What's the best language to learn for app development?
How many jobs should I apply to?
Переглядів 2194 роки тому
How many jobs should I apply to?
How do I get a job in tech?
Переглядів 2814 роки тому
How do I get a job in tech?
Should I consider paying for a career coach?
Переглядів 314 роки тому
Should I consider paying for a career coach?

КОМЕНТАРІ

  • @Prince-ol5zk
    @Prince-ol5zk День тому

    Hey Team AlgoDaily, You are a great teacher. I like that you take your time and explain things in detail. Question, I understand that traditional two pointer (the pointers are in opposite ends) require the array to the sorted for the traditional two pointer to work. How about the sliding window, a variation of the two pointers? Does sliding window require the array like data structure to be sorted?

  • @hernanquinde3454
    @hernanquinde3454 День тому

    my mind was blown

  • @yashrajjain8359
    @yashrajjain8359 День тому

    nah

  • @shagirulhassan7245
    @shagirulhassan7245 2 дні тому

    make more videos

  • @shagirulhassan7245
    @shagirulhassan7245 2 дні тому

    nice video

  • @KarenFender92
    @KarenFender92 15 днів тому

    I think the two-pointer technique is the same concept I recently read about in Cracking the Coding Interview, called the 'Runner Technique.'

  • @mitchellirvin5889
    @mitchellirvin5889 20 днів тому

    this solution has a few big bugs. splitting on a "," delim doesn't work as a way to split key:value pairs in an object, because it's possible for strings and lists to contain commas. also, valid JSON can have any amount of whitespace between symbols. this solution assumes a uniform style. e.g. parse("{ "key" : [1, 2, 3]}") is broken, even though it's valid JSON otherwise, nice solution!

  • @achyutkayastha4248
    @achyutkayastha4248 24 дні тому

    Good introduction!

  • @mahamsmemories
    @mahamsmemories 2 місяці тому

    The goat

  • @umairawan658
    @umairawan658 2 місяці тому

    Goat tutorial

  • @sinojha1
    @sinojha1 2 місяці тому

    Your explanation is so on point! Thank you for a great video.

  • @harshtrivedi29
    @harshtrivedi29 3 місяці тому

    how do you handle the usecase of '-.' which should be an invalid string.

  • @brianwsmithers
    @brianwsmithers 4 місяці тому

    Thanks for the video. I haven't come across the cycle problem yet, so it's good to know how it works for when I encounter it. Great explanations and visuals!

  • @soundaryanattuva6559
    @soundaryanattuva6559 5 місяців тому

    Such a great explaination!

  • @solmazkhosravi4355
    @solmazkhosravi4355 5 місяців тому

    I don't usually leave comments but your explanation is so on point. Not too much not too little. Well done! I subscribed to the channel just by watching this video

  • @codekiss8888
    @codekiss8888 6 місяців тому

    The program u showed for solving two sum doesn't work correctly as it fails to pass the second test on the leetcode platform because all combinations are not tried.

  • @abhrajitray951
    @abhrajitray951 8 місяців тому

    Great video

  • @Ny_babs
    @Ny_babs 8 місяців тому

    If you cant explain it to a 3rd grade student then you dont understand it. This guy gets it! Great tutorial!

  • @aashag3192
    @aashag3192 8 місяців тому

    you need to return the input at the end of the funtion to make sure the value is returned if it doesn't go through any of the if condition, say parseJSON(2) should return 2

  • @serverhunter
    @serverhunter 8 місяців тому

    Great video and example thank you

  • @mmm-ie5ws
    @mmm-ie5ws 8 місяців тому

    awesome video.

  • @bradfordgross6786
    @bradfordgross6786 10 місяців тому

    ✨ "PromoSM"

  • @iceyyeah
    @iceyyeah 10 місяців тому

    Thanks for the video your way of teaching is amazing

  • @iceyyeah
    @iceyyeah 10 місяців тому

    You are an amazing teacher thanks for this

  • @hiagomachado5792
    @hiagomachado5792 10 місяців тому

    Nice content!

  • @Aspyeater3869
    @Aspyeater3869 11 місяців тому

    gave you a follow brah

  • @alex_georgescu
    @alex_georgescu Рік тому

    Absolutely excellent explanations. Thank you!

  • @fullmoonparty1819
    @fullmoonparty1819 Рік тому

    The Java solution looked more like recursion that two pointers. It should have taken in a char[] instead of a string. That would have allowed the algo to focus on traversing arrays and two pointers.

  • @tyronemiguelarollado1150
    @tyronemiguelarollado1150 Рік тому

    Commenting for the algorithm, goodjob!

  • @uzochukwu1556
    @uzochukwu1556 Рік тому

    Great video

  • @ImmanuelMkwindaNgwira
    @ImmanuelMkwindaNgwira Рік тому

    What about self taught

  • @brayancuenca6925
    @brayancuenca6925 Рік тому

    So glad I ran into your channel; your way of making concepts visually understandable is a skill in its own right.

  • @Pulsonar
    @Pulsonar Рік тому

    The preparation seems kinda extreme, who is this technical interview advice aimed at? Is this for young people who are hoping to break into an industry?

  • @asadabbas5711
    @asadabbas5711 Рік тому

    thankyou for explaining in a very easy manner that even a newbie to programming can understand the problem and its solution pretty well. Although I've two questions regarding the two problem examples you discussed. 1) do two pointer technique on TwoSum only work on a sorted array? I don't see accurate results on unsorted arrays. 2) in your problem # 2, will your solution work on a link list with a cycle hoping for more than 1 node?

  • @putinscat1208
    @putinscat1208 Рік тому

    Whoa, it just ends!

  • @siddharthmitra2924
    @siddharthmitra2924 Рік тому

    Great video, thank you for the clear explanation :) My question is regarding using the 'two pointer' technique to check for cycles within the linked list, which you present towards the end of the video. Would using more pointers solve the question faster? So if we used 3 pointers, i.e, pointer 1 has a speed of x, pointer 2 -> 2x and pointer 3 -> 3x would we solve the question faster?

  • @julian3231
    @julian3231 Рік тому

    Great Work!!!

  • @bananaboydan3642
    @bananaboydan3642 Рік тому

    is there any reason why the while loop condition cant be while the sum of the two pointers != target ?

    • @MagicTre123
      @MagicTre123 8 місяців тому

      You aren’t guaranteed to find the sum in the input array so using that loop condition may result in an infinite loop.

  • @abdifatahmoh
    @abdifatahmoh Рік тому

    It can be easily solved with hashMap O(N) time & space. But nice video and solution.

  • @mohamedhussien4013
    @mohamedhussien4013 Рік тому

    Thank u so much.

  • @owenwu7995
    @owenwu7995 Рік тому

    stop explaining the theory and get into the practical syntax because none of this works

  • @Rob-J-BJJ
    @Rob-J-BJJ Рік тому

    thank you my brother this is a really good tutorial!

  • @jimjim3979
    @jimjim3979 Рік тому

    Thank you really you are so helpful instant subscribe

  • @erichepperlewp
    @erichepperlewp Рік тому

    Good job on your presentation! This helped me understand the basic two-pointer concept. My only suggestion would be to make a linked follow "suggested video" discussing what a "cycle" is. You are referring to this "cycle" as if it is a specific concept or data structure, as opposed to base/generic understanding of a cycle being anything that repeats in circular manner. Saying something like "A cycle in Python [or whatever language this is] is where you ping a database connection multiple times until you get a handshake. This can be the source of many headaches and hard to troubleshoot" ... Something like that. I just made that up, but you would of course give the actual explanation of what you are calling a #cycle AND a quick synopsis of why we care about finding one.

  • @charlesopuoro5295
    @charlesopuoro5295 2 роки тому

    Thank you so much for explaining this concept in a clear manner. It was evident that you made an effort to communicate and impart knowledge. And yeah, I sure did learn. Thanks again for this charitable endeavor. Salute!!!

  • @wence0x076
    @wence0x076 2 роки тому

    Awesome!

  • @bebo5619
    @bebo5619 2 роки тому

    Amazing explanation, very clean and concise. Keep up the great work!

  • @lucassmith6320
    @lucassmith6320 2 роки тому

    So for the first example the two sum, would this one only applied to sorted array?

    • @abz4852
      @abz4852 Рік тому

      yes, because the elif sum < targetValue: pointerOne += 1 will not work on an unsorted array

  • @gnanaprakashm843
    @gnanaprakashm843 2 роки тому

    Your 1000th Sub !!

  • @shashankl8589
    @shashankl8589 2 роки тому

    two pointers only work ,if it is a sorted array

    • @General_Aladeen
      @General_Aladeen Рік тому

      yup

    • @MahJohn
      @MahJohn 9 місяців тому

      exactly!

    • @ragama623
      @ragama623 5 місяців тому

      Wrong. U can use two pointers in a non sorted array. Just look at leetcode 11