11 questions Β· from 3 interviews
Pragmatic Play interview questions
Every question candidates reported from their Pragmatic Play interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.
Pragmatic Play coding and DSA questions
- 01
Count Vowels & Consonants in a String
Given a string, write a function countVovCons that returns the count of vowels and consonants. For example: javascript countVovCons("hello akash"); // Expected Output: 4 6
Easy Β· From π§βπ» SDE-2 Frontend Interview Experience β Arrise / Pragmatic Play (25+ LPA) - 4 YOE
- 02
Reverse Each Word in a String
Given a string, write a function to reverse each word within the string while maintaining the original word order. For example: javascript const str = "Hello World"; // Expected Output: "olleH dlroW"
Easy Β· From π§βπ» SDE-2 Frontend Interview Experience β Arrise / Pragmatic Play (25+ LPA) - 4 YOE
- 03
Maximum Number of Vowels in a Substring of Given Length
I was asked to find the maximum number of vowels in a substring of a given length.
Medium Β· From Pragmatic Play | Arrise Solutions | SDE-2 | Hyderabad | Interview Experience | Process dropped
- 04
Find Minimum in Rotated Sorted Array
I was asked to find the minimum element in a rotated sorted array.
Medium Β· From Pragmatic Play | Arrise Solutions | SDE-2 | Hyderabad | Interview Experience | Process dropped
- 05
Maximum Water Trapped
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.
Easy Β· From SDE-2 Pragmatic Play (Arrise Solutions)
- 06
Multi-threaded Sequence Printing (0, Even, Odd)
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β¦
Pragmatic Play system design questions
- 01
Distributed Counter and Sorting (HLD)
High-Level Design discussion on implementing a distributed counter and sorting mechanisms in a distributed system.
Pragmatic Play other questions
- 01
JavaScript Hoisting and TDZ
Explain the concept of hoisting in JavaScript, differentiating how var, let, const, and function declarations are handled. Consider the following code snippets and explain their behavior: javascript console.log(foo()); // Works function foo() { returnβ¦
From π§βπ» SDE-2 Frontend Interview Experience β Arrise / Pragmatic Play (25+ LPA) - 4 YOE
- 02
setTimeout in a Loop with var
Explain the output of the following JavaScript code snippet and provide a solution to ensure it logs the expected sequence of values (0, 1, 2). javascript for (var i = 0; i console.log(i), 0); // Actual Output: 3 3 3 }
From π§βπ» SDE-2 Frontend Interview Experience β Arrise / Pragmatic Play (25+ LPA) - 4 YOE
- 03
CSS Flexbox vs. Grid
Explain the fundamental differences between CSS Flexbox and CSS Grid, and describe their primary use cases.
From π§βπ» SDE-2 Frontend Interview Experience β Arrise / Pragmatic Play (25+ LPA) - 4 YOE
- 04
CSS Display Properties: Inline, Block, Inline-block
Describe the characteristics and differences between the CSS display properties: inline, block, and inline-block.
From π§βπ» SDE-2 Frontend Interview Experience β Arrise / Pragmatic Play (25+ LPA) - 4 YOE
Pragmatic Play interview questions FAQ
What questions are asked in Pragmatic Play interviews?
Candidates reported 11 distinct questions across 3 Pragmatic Play interviews. 6 coding and DSA questions, 1 system design questions, 4 other questions.
How difficult are Pragmatic Play interview questions?
Of the questions candidates rated, 60% were easy, 40% medium and 0% hard.