Discuss
Interview experiences, the questions people were asked, and salaries, shared by software engineers. 817 posts so far.
-
Freshworks: O(1) LFU cache with recency as the tie-breaker
Problem. Implement a least frequently used cache with get key and put key, value . When the cache is full, evict the key with the lowest access count. If several keys tie on count,
-
Tekion: Design a URL allow/block filtering service
Problem. Build a service that decides whether a given URL should be allowed or blocked. What happened. The candidate used a structured framework, gave a basic design and went into
-
Coupang: Track cross-border shipments handled by many carriers
Problem. Design a service that tracks e commerce orders shipped from one country to another. Details given. A delivery passes through several stops in both the origin and destinati
-
Coupang: In-memory file system with append and sorted listing
Problem. Implement a file system interface with these operations: Create a directory. Write to a file: create it with the content if missing, otherwise append the content. Read cat
-
Snap: Implement sine from scratch with a series expansion and a stopping rule
Problem. Write your own version of a library sine function: take a number x in radians and return sin x as a double, without calling the built in. The suggested route is the Taylor