SDE-2 Pragmatic Play (Arrise Solutions)
- Posted
- 20 Jul 2025
Summary
I had an interview experience for an SDE-2 role at Pragmatic Play, which consisted of two rounds covering data structures & algorithms, system design, and multi-threading problems.
How it went
First Round :-
Maximum Water Trapped between two buckets (Leetcode -easy)
Discussion (HLD) on Distributed Counter and Sorting.
Second Round :- Print the below sequence using 3 threads
0 1 0 2 0 3 0 4 0 5 0 6........
One thread should print 0 other thread for even numbers other for odd numbers.
Questions asked (3)
- 01
Maximum Water Trapped
Data Structures & Algorithms · Easy
Given an array of non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining. This is commonly known as 'Trapping Rain Water' on LeetCode.
- 02
Distributed Counter and Sorting (HLD)
System Design
High-Level Design discussion on implementing a distributed counter and sorting mechanisms in a distributed system.
- 03
Multi-threaded Sequence Printing (0, Even, Odd)
Data Structures & Algorithms
Implement a multi-threaded program using three threads to print the sequence: 0 1 0 2 0 3 0 4 0 5 0 6... One thread should exclusively print '0', another thread should print even numbers, and the third thread should print odd numbers, ensuring the correct interleaved sequence.