I collected the algorithm and example we may need during the system design on https://github.com/resumejob/system-design-algorithms
Frugal Streaming
Geohash / S2 Geometry
Leaky bucket / Token bucket
Loosy Counting
Operational transformation
Quadtree / Rtree
Ray casting
Reverse index
Rsync algorithm
Trie algorithm
Check out the examples on the repo.
Algorithm Collection
Q1: How would you find a cycle in a linked list? Try to do it in O(n) time. Try it using constant amount of memory.
Q2: Given a history of URLs, how would you determine if a particular URL had been seen before?
Q3: Since pages can have multiple URLs pointing to them, how can you make sure you've never seen the same CONTENT before?
Q4: Come up with the plan on how to traverse a graph, as well as to quickly determine if a given URL is one of the million or so you've previously seen.
Q5: The Web can be modeled as a directed graph. Come up with a graph traversal algorithm. Make the algorithm non-recursive and breadth-first.
Q6: Write a function to print the Fibonacci numbers
Q7: Write a function to print all of the permutations of a string.
Q8: Design a memory management scheme.
Q9: Give a one-line C expression to test whether a number is a power of 2. Now implement it without using loops.
Q10: How can I swap two integers in a single l...
Comments
The Team members' sound mathematical abilities can be attributed to their graduation course of 'Mathematical Thinking' where they studied Probability in great detail.
$20 Rothys Coupon. Verified Rothys Coupons and Promo Codes
Tel: (727) 827-8586
Street: 1st Floor, Building 15J, No. 80, Dianchang Road
Zhengzhou High-tech Industrial Development Zone
jurllyshe