Zig-Zag World of Algorithm and Data Structures
Home
(Move to ...)
Home
Basic Data Structures
Advance Data Structures
Algorithms
Exercises
Interview Questions
Puzzles
Design Questions
Conferences and Papers
About The Blog
▼
Tuesday, May 31, 2022
System Design: Availability Patterns
›
1. Fail Over: Basically the fail over is kind of following: But it is really more complex than above. If we double click a little, failover...
Thursday, May 26, 2022
System Design: The numbers everyone should care
›
Before moving to the actual design we should scope the design problem. To scope the problem we must come up with the load, storage required,...
Sunday, May 8, 2022
[Coinbase] Get Resource with max frequency of every 5 minutes interval
›
Problem: You are given the logs in [timestamp, user, resource] format which indicates the timestamp when user access a resource. You need ...
Thursday, May 5, 2022
[Coinbase] Extract user session from logs
›
Problem: You are given the logs in [timestamp, user, resource] format which indicates the timestamp when user access a resource. A user se...
Wednesday, March 2, 2022
Find the element in a sorted array which is equal or just less than given number
›
Problem: In a given sorted array, find the greatest element which is less than a given number x. Example: Input: arr = [7, 12, 16, 20, 24 ...
Friday, October 29, 2021
[Amazon][LeetCode] Rotting Oranges
›
Problem: You are given an m x n grid where each cell can have one of three values: 0 representing an empty cell, 1 representing a fresh ora...
Thursday, October 28, 2021
[LeetCode] 3 Sum
›
Problem: Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i]...
‹
›
Home
View web version