- Видео 103
- Просмотров 23 308 320
Tushar Roy - Coding Made Simple
США
Добавлен 14 ноя 2007
This channel is to make learning easy for everyone.
Contact me on IRC channel if you have a question.
Server : irc.foonetic.net
Channel: #tusharroy
Contact me on IRC channel if you have a question.
Server : irc.foonetic.net
Channel: #tusharroy
System Design : Distributed Database System Key Value Store
Desing a scalable distributed database system.
Просмотров: 170 251
Видео
System Design Introduction For Interview.
Просмотров 555 тыс.6 лет назад
tusharroy25/ This video describes how to prepare for system design interview. Below is all the content described in the video. A - Ask good questions B - Don't use buzzwords C - Clear and organized thinking D - Drive discussions with 80-20 rule Things to consider Features API Availability Latency Scalability Durability Class Diagram Security and Privacy Cost-effective Concepts to k...
System Design : Design messaging/chat service like Facebook Messenger or Whatsapp
Просмотров 350 тыс.6 лет назад
System design : Design messaging or chat service like facebook messenger. redis.io/topics/cluster-tutorial docs.datastax.com/en/cassandra/2.1/cassandra/architecture/architectureIntro_c.html en.wikipedia.org/wiki/WebSocket
Binary Search : Median of two sorted arrays of different sizes.
Просмотров 540 тыс.6 лет назад
In example 1 end should be 5(not 4) since there are total 5 elements. Find median of two sorted arrays of different sizes. Algorithm is based on binary search. github.com/mission-peace/interview/blob/master/src/com/interview/binarysearch/MedianOfTwoSortedArrayOfDifferentLength.java tusharroy25/
System design : Design Autocomplete or Typeahead Suggestions for Google search
Просмотров 305 тыс.6 лет назад
System design: How to design an autocomplete feature for search engine like Google or Bing. Design should be scalable/available/durable. tusharroy25/
Convex Hull Jarvis March(Gift wrapping algorithm)
Просмотров 93 тыс.6 лет назад
the convex hull or convex envelope of a set X of points in the Euclidean plane or in a Euclidean space (or, more generally, in an affine space over the reals) is the smallest convex set that contains X. For instance, when X is a bounded subset of the plane, the convex hull may be visualized as the shape enclosed by a rubber band stretched around X. github.com/mission-peace/interview/blob/master...
System Design : Design a service like TinyUrl
Просмотров 563 тыс.7 лет назад
System design: Design a scalable service which supports tiny url use case.
Burst Balloon Dynamic Programming[Leetcode]
Просмотров 103 тыс.7 лет назад
tusharroy25 leetcode.com/problems/burst-balloons/ github.com/mission-peace/interview/blob/master/src/com/interview/dynamic/BurstBalloons.java github.com/mission-peace/interview/wiki
Sum Query in 2D Immutable Array Dynamic Programming
Просмотров 51 тыс.8 лет назад
tusharroy25 github.com/mission-peace/interview/blob/master/src/com/interview/dynamic/Immutable2DSumRangeQuery.java github.com/mission-peace/interview/wiki Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner (row2, col2).
Regular Expression Dynamic Programming
Просмотров 253 тыс.8 лет назад
tusharroy25 github.com/mission-peace/interview/blob/master/src/com/interview/dynamic/RegexMatching.java github.com/mission-peace/interview/wiki Given a regex which supports '*' and '.' . Do regex matching.
Lowest Common Ancestor Binary Search Tree
Просмотров 75 тыс.8 лет назад
tusharroy25 github.com/mission-peace/interview/wiki github.com/mission-peace/interview/blob/master/src/com/interview/tree/LowestCommonAncestoryBinarySearchTree.java Find lowest common ancestor in binary search tree.
Sparse Table Algorithm Range Minimum Query
Просмотров 57 тыс.8 лет назад
tusharroy25 github.com/mission-peace/interview/blob/master/src/com/interview/misc/SparseTableRangeMinimumQuery.java github.com/mission-peace/interview/wiki In computer science, a range minimum query (RMQ) solves the problem of finding the minimal value in a sub-array of an array of comparable objects. Range minimum queries have several use cases in computer science such as the lowe...
Lowest Common Ancestor Binary Tree
Просмотров 250 тыс.8 лет назад
tusharroy25/ github.com/mission-peace/interview/wiki github.com/mission-peace/interview/blob/master/src/com/interview/tree/LowestCommonAncestorInBinaryTree.java Given two nodes find lowest common ancestor of these 2 nodes in the binary tree
Iterative Postorder traversal of binary tree using one stack
Просмотров 115 тыс.8 лет назад
tusharroy25 github.com/mission-peace/interview/blob/master/src/com/interview/tree/TreeTraversals.java#L98 github.com/mission-peace/interview/wiki Postorder traversal of binary tree using one stack.
Combination of Characters in String (All subsets of characters)
Просмотров 75 тыс.8 лет назад
Combination of Characters in String (All subsets of characters)
N Queen Problem Using Backtracking Algorithm
Просмотров 342 тыс.8 лет назад
N Queen Problem Using Backtracking Algorithm
Wildcard Matching Dynamic Programming
Просмотров 145 тыс.8 лет назад
Wildcard Matching Dynamic Programming
Coin Changing Minimum Coins Dynamic Programming
Просмотров 178 тыс.8 лет назад
Coin Changing Minimum Coins Dynamic Programming
Detect Cycle in Directed Graph Algorithm
Просмотров 193 тыс.8 лет назад
Detect Cycle in Directed Graph Algorithm
Buy/Sell Stock With K transactions To Maximize Profit Dynamic Programming
Просмотров 176 тыс.8 лет назад
Buy/Sell Stock With K transactions To Maximize Profit Dynamic Programming
Ford Fulkerson Algorithm Edmonds Karp Algorithm For Max Flow
Просмотров 169 тыс.8 лет назад
Ford Fulkerson Algorithm Edmonds Karp Algorithm For Max Flow
Rabin Karp Substring Search Pattern Matching
Просмотров 240 тыс.8 лет назад
Rabin Karp Substring Search Pattern Matching
Floyd Warshall Algorithm All Pair Shortest Path Graph Algorithm
Просмотров 148 тыс.8 лет назад
Floyd Warshall Algorithm All Pair Shortest Path Graph Algorithm
Bellman-Ford Algorithm Single Source Shortest Path Graph Algorithm
Просмотров 202 тыс.8 лет назад
Bellman-Ford Algorithm Single Source Shortest Path Graph Algorithm
Traveling Salesman Problem Dynamic Programming Held-Karp
Просмотров 232 тыс.8 лет назад
Traveling Salesman Problem Dynamic Programming Held-Karp
Johnson's Algorithm - All simple cycles in directed graph
Просмотров 67 тыс.8 лет назад
Johnson's Algorithm - All simple cycles in directed graph
Arigato
In the video, you said the TC of building the BIT is O(nlogn). If we use a prefix sum array just for making the tree, we can reduce it to O(n) right?
Not understand
great video
Thanks for a clear explanetion :D
Nicely explained
best explaination on internet
Thankyou so much sir
9:41 if suppose there is a tiny url exising for a long url and you do put, then it will override the existing tiny url.. will it make sense?
Thank you! This is the most thorough video explanation on Morris Traversal that I have been able to find.
there is a problem at 6:45 , after visiting -1 , we got to 2 , then we begin finding predecessor of 2 , Alas , finding predecessor of 2 means going right most in left sub-tree of 2 , here left subtree is -1 , then lets find predecessor ,-1 -> right = 2 , then 2-> right = 5 , 5-> right = 6 , 6-> right = 8 , 8 ->right = 10 , we are moving in totally different direction ....now . Actually this must stop when predecessor is found , but for predecessor , we keep moving right ? Edit: Now I saw the final code , while finding predecessor , you solved the problem by doing , predecessor-> right = current , then break .
Q1. How communication is done b/w servers? Ex. N2 and N3 Q2. How search will be performed on the data present in blob/cold storage?
The best explaination with perfect testcases that I found for this question on Internet. Thank you!
Why do you not make any more videos? These videos are literally gems! I wish you had made more videos on the system design!
Thank you. Very detail and understandable.
Best explanation,I have watched so far!
Thank you great explanation
why 8? i cant undrestand:(
Why do you sfeak and not speak 😂😂
Hero
Won't the counter/all-host/range_based approch generate duplicate tiny urls? With these approaches how do I search if a long url already exists? Won't a DB table [long -> tiny] also be required to avoid duplicate URL generation?
Thank you ,master
i am having a lot of issues with algorithms and logarithms, any thing you can suggest?
We can do this in a 1d array rather than 2d i mean no need to store the whole shit right just compute in a single dimensional array
does the algorithm stays the same when buildings are extended to n-dimension space
Very good explanation!!
Beautiful explanation. You address the actual logic of finding the longest suffix that is a prefix in a substring, which it easier to understand.
Thank you for this video, you help me a lots
you are the best
2024 anyone?
beautiful
thank you so much
great .thanks
Important thing I missed in school: "only one item" 2:39
I understood everything. /s
Coming back to this even after 6 years of college. Big Time Nostalgia !!!
Awesome!
the trick is that If I am interwined by you two strings , my last char must equal to one of your last char. When we deal with each spot in the table , we consider it as the last char of the target string
I love this, great work sir
I don`t understand the O(m+n) part. I don`t understand its purpose.
I have watched Neetcode's and Striver's explanations for this problem, but neither of them come close to this 6-year-old video.
I couldn't understand this earlier. now I'm very clear about this. Such a awesome explanation. Thankyou very much sir.
Man at least go through why we are using this approach ?
2024 hit like
👍
Thank you!! Very helpful video
After 8 years, still so much better than our computer science teachers. Thank you for the video. -Turkey
goat
Thank you so much for the very detailed explanation. I finally understand this.
This is banger. Thank you so much, God bless you.