Few basic questions on Java - Optional, try with resource, synchronized etc.
DSA:
Supposed to be LLD round:
Questions on past experiences.
Question on transactions in microservices - expected saga pattern.
Java - 2 threads, 1 prints odd, 2 prints evens - print from 1-200 in order using two threads. Busy wait and wait+notify.
Question on synchronized blocks, ensuring no two writes happen to a single resource in a distributed system.