Is your API idempotent?

You would frequently find senior engineers asking this question in your code review. But what exactly is idempotency? Idempotency is basically operations that when done once or multiple times, gives you the same result.  Have you used this two-way switch? If yes, do you think this is idempotent? (Last I heard, senior engineers were not... Continue Reading →

Implement a file system in Java given n-bytes

Problem Statement Given n - bytes, implement a file system that supports following actions: Create File Update File Read File Delete File If you want a good start point for a small low level design problem, this post on designing a ride hailing service might be a good start. Demystifying Problem Statement When the problem... Continue Reading →

Design and code cab hailing service like Uber

We will use Java as programming language. This project will try to cover the following requirements. We will try to first define entities and then services. We will also build class diagram as we proceed as I don't want to bombard with a picture fill of random boxes and arrows at the end. If you... Continue Reading →

Blog at WordPress.com.

Up ↑