All Posts 135


System Design Cheat Sheet

System Design Cheat Sheet

Ashish Lahoti

This System Design Cheat Sheet gives you a quick idea to tackle with the building blocks of any system design interview questions. Keep following this post for regular updates.

Ping Pong using Threads in Java

Ping Pong using Threads in Java

Ashish Lahoti

This problem is frequently asked in the interview to check your understanding on threads and your programming skills. Problem statement might change for e.g.

  • Print ping pong using two threads.
  • Print alternate number using two threads.
  • Print even numbers by one thread and odd numbers by another thread.