Summary
I interviewed for an SDE 2 role at Arrisse, experiencing rounds focused on Java basics, Data Structures & Algorithms, Low-Level Design, and multithreading concepts.
Full Experience
Round 1
Few basic questions on Java - Optional, try with resource, synchronized etc.
DSA:
- Generate all the subsequences of a given array list
- 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.
Interview Questions (5)
Generate all the subsequences of a given array list
Given a string, find the length of the largest substring with non-repeating characters
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.