SDE 2 @ Arrise
- Posted
- 3 Apr 2025
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.
How it went
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.
Questions asked (5)
- 01
Generate All Subsequences of an Array List
Data Structures & Algorithms · Medium
Generate all the subsequences of a given array list
- 02
Length of Largest Substring with Non-Repeating Characters
Data Structures & Algorithms · Medium
Given a string, find the length of the largest substring with non-repeating characters
- 03
Transactions in Microservices (Saga Pattern)
System Design
Question on transactions in microservices - expected saga pattern.
- 04
Two Threads Print Odd/Even Numbers in Order
Data Structures & Algorithms · Medium
Java - 2 threads, 1 prints odd, 2 prints evens - print from 1-200 in order using two threads. Busy wait and wait+notify.
- 05
Synchronized Blocks for Distributed Resource Access
System Design
Question on synchronized blocks, ensuring no two writes happen to a single resource in a distributed system.