Tushar Roy - Coding Made Simple
Tushar Roy - Coding Made Simple
  • Видео 103
  • Просмотров 23 308 320

Видео

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.
Trie Data Structure
Просмотров 409 тыс.8 лет назад
Trie Data Structure
Combination of Characters in String (All subsets of characters)
Просмотров 75 тыс.8 лет назад
Combination of Characters in String (All subsets of characters)
Morris Inorder Tree Traversal
Просмотров 144 тыс.8 лет назад
Morris Inorder Tree Traversal
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
String Permutation Algorithm
Просмотров 319 тыс.8 лет назад
String Permutation Algorithm
Detect Cycle in Directed Graph Algorithm
Просмотров 193 тыс.8 лет назад
Detect Cycle in Directed Graph Algorithm
Skyline Problem
Просмотров 191 тыс.8 лет назад
Skyline Problem
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

Комментарии

  • @milfkilla
    @milfkilla 12 часов назад

    Arigato

  • @akshayanm
    @akshayanm День назад

    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?

  • @ankitagarg6505
    @ankitagarg6505 День назад

    Not understand

  • @bartodziej586
    @bartodziej586 День назад

    great video

  • @idontknow-wl6su
    @idontknow-wl6su День назад

    Thanks for a clear explanetion :D

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

    Nicely explained

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

    best explaination on internet

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

    Thankyou so much sir

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

    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?

  • @aaronschwartz-messing4701
    @aaronschwartz-messing4701 5 дней назад

    Thank you! This is the most thorough video explanation on Morris Traversal that I have been able to find.

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

    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 .

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

    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?

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

    The best explaination with perfect testcases that I found for this question on Internet. Thank you!

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

    Why do you not make any more videos? These videos are literally gems! I wish you had made more videos on the system design!

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

    Thank you. Very detail and understandable.

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

    Best explanation,I have watched so far!

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

    Thank you great explanation

  • @HadisKianpour-iw2ni
    @HadisKianpour-iw2ni 12 дней назад

    why 8? i cant undrestand:(

  • @shubhamkumar-hx1fb
    @shubhamkumar-hx1fb 13 дней назад

    Why do you sfeak and not speak 😂😂

  • @giovannimaltisotto4601
    @giovannimaltisotto4601 13 дней назад

    Hero

  • @256cool
    @256cool 14 дней назад

    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?

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

    Thank you ,master

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

    i am having a lot of issues with algorithms and logarithms, any thing you can suggest?

  • @AKProductionsTelugu
    @AKProductionsTelugu 18 дней назад

    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

  • @VuNguyen-hi3fu
    @VuNguyen-hi3fu 18 дней назад

    does the algorithm stays the same when buildings are extended to n-dimension space

  • @vartikapriyadarshini4511
    @vartikapriyadarshini4511 19 дней назад

    Very good explanation!!

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

    Beautiful explanation. You address the actual logic of finding the longest suffix that is a prefix in a substring, which it easier to understand.

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

    Thank you for this video, you help me a lots

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

    you are the best

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

    2024 anyone?

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

    beautiful

  • @hakunamatata-nl4js
    @hakunamatata-nl4js 24 дня назад

    thank you so much

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

    great .thanks

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

    Important thing I missed in school: "only one item" 2:39

  • @ٻٻٻٻٻ
    @ٻٻٻٻٻ 26 дней назад

    I understood everything. /s

  • @nitin7829
    @nitin7829 26 дней назад

    Coming back to this even after 6 years of college. Big Time Nostalgia !!!

  • @vedicdutta2856
    @vedicdutta2856 26 дней назад

    Awesome!

  • @halseywalker5015
    @halseywalker5015 26 дней назад

    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

  • @user-mi5du2ez3b
    @user-mi5du2ez3b 26 дней назад

    I love this, great work sir

  • @markjethropacheco4546
    @markjethropacheco4546 26 дней назад

    I don`t understand the O(m+n) part. I don`t understand its purpose.

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

    I have watched Neetcode's and Striver's explanations for this problem, but neither of them come close to this 6-year-old video.

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

    I couldn't understand this earlier. now I'm very clear about this. Such a awesome explanation. Thankyou very much sir.

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

    Man at least go through why we are using this approach ?

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

    2024 hit like

  • @MuhammadIlham-bh9py
    @MuhammadIlham-bh9py Месяц назад

    👍

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

    Thank you!! Very helpful video

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

    After 8 years, still so much better than our computer science teachers. Thank you for the video. -Turkey

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

    goat

  • @Jonathan-zd7bd
    @Jonathan-zd7bd Месяц назад

    Thank you so much for the very detailed explanation. I finally understand this.

  • @xii-i-31-yeye63
    @xii-i-31-yeye63 Месяц назад

    This is banger. Thank you so much, God bless you.