- 49
- 141 147
Team AlgoDaily
United States
Приєднався 16 бер 2019
AlgoDaily.com
Programming interviews don't need to be so complicated. Understand how to solve coding problems faster with our fun, interactive, step-by-step guides. Join over 8,073 users who are cutting their prep time in half, and being delighted while doing so! Visit algodaily.com
Programming interviews don't need to be so complicated. Understand how to solve coding problems faster with our fun, interactive, step-by-step guides. Join over 8,073 users who are cutting their prep time in half, and being delighted while doing so! Visit algodaily.com
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!
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...
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
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?
What's the best language to learn for app development?
Переглядів 1654 роки тому
What's the best language to learn for app development?
Should I consider paying for a career coach?
Переглядів 314 роки тому
Should I consider paying for a career coach?
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?
my mind was blown
nah
make more videos
nice video
I think the two-pointer technique is the same concept I recently read about in Cracking the Coding Interview, called the 'Runner Technique.'
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!
Good introduction!
The goat
Goat tutorial
Your explanation is so on point! Thank you for a great video.
how do you handle the usecase of '-.' which should be an invalid string.
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!
Such a great explaination!
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
Same here
bot comment
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.
Great video
If you cant explain it to a 3rd grade student then you dont understand it. This guy gets it! Great tutorial!
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
Great video and example thank you
awesome video.
✨ "PromoSM"
Thanks for the video your way of teaching is amazing
You are an amazing teacher thanks for this
Nice content!
gave you a follow brah
Absolutely excellent explanations. Thank you!
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.
Commenting for the algorithm, goodjob!
Great video
What about self taught
So glad I ran into your channel; your way of making concepts visually understandable is a skill in its own right.
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?
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?
Whoa, it just ends!
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?
Great Work!!!
is there any reason why the while loop condition cant be while the sum of the two pointers != target ?
You aren’t guaranteed to find the sum in the input array so using that loop condition may result in an infinite loop.
It can be easily solved with hashMap O(N) time & space. But nice video and solution.
Thank u so much.
stop explaining the theory and get into the practical syntax because none of this works
thank you my brother this is a really good tutorial!
Thank you really you are so helpful instant subscribe
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.
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!!!
Awesome!
Amazing explanation, very clean and concise. Keep up the great work!
BANANA
So for the first example the two sum, would this one only applied to sorted array?
yes, because the elif sum < targetValue: pointerOne += 1 will not work on an unsorted array
Your 1000th Sub !!
two pointers only work ,if it is a sorted array
yup
exactly!
Wrong. U can use two pointers in a non sorted array. Just look at leetcode 11