PlaySimple Games interview experience Real time questions & tips from candidates to crack your interview

Associate Software Engineer

PlaySimple Games
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: Data Structures, Algorithms, DBMS, OOPS, Operating System
Tip
Tip

Tip 1: Must do Previously asked Interviews as well as Online Test Questions.
Tip 2: Must have good knowledge of DSA
Tip 3: Do at least 2 good projects and you must know every bit of them.

Application process
Where: Campus
Eligibility: BTech & Integrated - CS/IT/ECE with CGPA of 6.5 & above. No backlogs
Resume Tip
Resume tip

Tip 1: Have at least 2 good projects explained in short with all important points covered.
Tip 2: Every skill must be mentioned.
Tip 3: Focus on skills, projects, and experiences more.

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 mins
Interview date9 Aug 2022
Coding problem2

coding questions were of medium-hard difficulty in this round and if you don't have good coding skills you cannot clear this round.

1. Count of Smaller Elements

Hard
45m average time
55% success
0/120
Asked in companies
SprinklrAppleOYO

Given an array of size 'N' return the count array such that COUNT[i] equals the number of element which are smaller than ARR[ i ] on its the right side.

For Example : ARR = [4,2,1,5] the count array corresponding to the given array is :-.

The Number of elements smaller than 4 on its right side is 2.
The Number of elements smaller than 2 on its right side is 1.
The Number of elements smaller than 1 on its right side is 0.
The Number of elements smaller than 5 on its right side is 0.
Hence the count array is [2,1,0,0]
Problem approach

The smaller numbers on the right of a number are exactly those that jump from its right to its left during a stable sort. So I do mergesort with added tracking of those right-to-left jumps.

Try solving now

2. Search In Rotated Sorted Array

Easy
12m average time
85% success
0/40
Asked in companies
OYOZSAmazon

You have been given a sorted array/list 'arr' consisting of ‘n’ elements. You are also given an integer ‘k’.


Now the array is rotated at some pivot point unknown to you.


For example, if 'arr' = [ 1, 3, 5, 7, 8], then after rotating 'arr' at index 3, the array will be 'arr' = [7, 8, 1, 3, 5].


Now, your task is to find the index at which ‘k’ is present in 'arr'.


Note :
1. If ‘k’ is not present in 'arr', then print -1.
2. There are no duplicate elements present in 'arr'. 
3. 'arr' can be rotated only in the right direction.


Example:
Input: 'arr' = [12, 15, 18, 2, 4] , 'k' = 2

Output: 3

Explanation:
If 'arr' = [12, 15, 18, 2, 4] and 'k' = 2, then the position at which 'k' is present in the array is 3 (0-indexed).


Problem approach

First, we take
low (lo) as 0
high (hi) as nums.length-1

By default, if nums[lo] nums[hi] => lo = mid + 1 because the minimum element is in the right half of the array
else if nums[mid] < nums[hi] => hi = mid because the minimum element is in the left half of the array
else => hi-- dealing with duplicate values
then we return nums[hi]

Try solving now
02
Round
Hard
Video Call
Duration60 mins
Interview date10 Aug 2022
Coding problem2

the interviewer asked questions from the resume on mentioned projects, technical domains, and preferences for working with technologies and 2 coding questions

1. First Missing Positive

Moderate
18m average time
84% success
0/80
Asked in companies
DunzoHikeSamsung

You are given an array 'ARR' of integers of length N. Your task is to find the first missing positive integer in linear time and constant space. In other words, find the lowest positive integer that does not exist in the array. The array can have negative numbers as well.

For example, the input [3, 4, -1, 1] should give output 2 because it is the smallest positive number that is missing in the input array.

Problem approach

Put each number in its right place.

For example:

When we find 5, then swap it with A[4].

At last, the first place where its number is not right, return the place + 1.

Try solving now

2. Word Ladder

Hard
10m average time
90% success
0/120
Asked in companies
OlaSalesforceMakeMyTrip

You are given two strings BEGIN and END and an array of strings DICT. Your task is to find the length of the shortest transformation sequence from BEGIN to END such that in every transformation you can change exactly one alphabet and the word formed after each transformation must exist in DICT.

Note:

1. If there is no possible path to change BEGIN to END then just return -1.
2. All the words have the same length and contain only lowercase english alphabets.
3. The beginning word i.e. BEGIN will always be different from the end word i.e. END (BEGIN != END).
Problem approach

used two-end BFS to slove the problem, interview wanted better solution.

Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
SDE - Intern
3 rounds | 5 problems
Interviewed by PlaySimple Games
4808 views
0 comments
0 upvotes
Associate Software Engineer
2 rounds | 3 problems
Interviewed by PlaySimple Games
1742 views
0 comments
0 upvotes
SDE - Intern
3 rounds | 6 problems
Interviewed by PlaySimple Games
881 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3451 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Associate Software Engineer
3 rounds | 10 problems
Interviewed by Amdocs
2370 views
0 comments
0 upvotes
company logo
Associate Software Engineer
3 rounds | 2 problems
Interviewed by Ernst & Young (EY)
2671 views
0 comments
0 upvotes
company logo
Associate Software Engineer
3 rounds | 15 problems
Interviewed by Ernst & Young (EY)
2347 views
0 comments
0 upvotes