SDE 2 @ Arrise
Anonymous User
1360

Round 1

Few basic questions on Java - Optional, try with resource, synchronized etc.

DSA:

  1. Generate all the subsequences of a given array list
  2. Given a string, find the length of the largest substring with non-repeating characters

Round 2

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.

Comments (0)