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

SDE - 1

Paxcom
upvote
share-icon
4 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: Data Structures, OOPS, Algorithms, OS, Java, SQL, DBMS
Tip
Tip

Tip 1 : Main focus on DS algo
Tip 2 : Do Subject also (dbms, os, etc)
Tip 3 : Do some good projects

Application process
Where: Campus
Eligibility: 60% overall
Resume Tip
Resume tip

Tip 1 : Highlight your strong points
Tip 2 : Change resume according to required skills by company

Interview rounds

01
Round
Easy
Online Coding Interview
Duration50 Minutes
Interview date22 Sep 2020
Coding problem1

50 questions - 1 hour

1. Largest Island

Moderate
30m average time
90% success
0/80
Asked in companies
Chegg Inc.IBMOYO

You are given two integers 'n' and 'm', the dimensions of a grid. The coordinates are from (0, 0) to (n - 1, m - 1).


The grid can only have values 0 and 1.


The value is 0 if there is water and 1 if there is land.


An island is a group of ‘1’s such that every ‘1’ has at least another ‘1’ sharing a common edge.


You are given an array 'queries' of size 'q'.


Each element in 'queries' contains two integers 'x' and 'y', referring to the coordinates in the grid.


Initially, the grid is filled with 0, which means only water and no land.


At each query, the value of 'grid' at (x, y) becomes 1, which means it becomes land.


Find out, after each query, the number of islands in the grid.


Example :
Input: 'n' = 3, 'm' = 4
'queries' = [[1, 1], [1, 2], [2, 3]]

Output: [1, 1, 2]

Explanation:

Initially, the grid was:
0 0 0 0
0 0 0 0
0 0 0 0

After query (1, 1):
0 0 0 0
0 1 0 0
0 0 0 0
There is one island having land (1, 1).

After query (1, 2):
0 0 0 0
0 1 1 0
0 0 0 0
Since (1, 1) and (1, 2) share a common edge, they form one island. So there is one island having lands (1, 1) and (1, 2).

After query (2, 3):
0 0 0 0
0 1 1 0
0 0 0 1
Now there are two islands, one having lands (1, 1) and (1, 2), and another having land (2, 3).

So the number of islands after each query is [1, 1, 2].
Try solving now
02
Round
Easy
Online Coding Interview
Duration60 Minutes
Interview date22 Sep 2020
Coding problem2

2 question of coding - 1 hour

1. Circular Move

Easy
20m average time
80% success
0/40
Asked in companies
AmazonAmerican ExpressCerner Corporation

You have a robot currently standing at the origin (0, 0) of a two-dimensional grid and facing north direction. You are given a sequence of moves for the robot in the form of a string of size 'N'. You are required to find whether the path followed by the robot upon taking the moves is circular or not.

A sequence of moves is circular if and only if the robot ends up from where it initially started.

The sequence of moves contains only three types of moves.

'G': it means that the robot will move 1 unit in the direction it is facing.

'L': it means that the robot will move 90 degrees towards its left. For example, if the robot is facing north and it has to make an ‘L’ move, then it will start facing the west direction.

'R': it means the robot will move 90 degrees towards its right. For example, if the robot is facing north and it has to make an ‘R’ move then it will start facing the east direction.
Try solving now

2. Count Frequency

Easy
15m average time
85% success
0/40
Asked in companies
AmazonSprinklrHewlett Packard Enterprise

You are given a string 'S' of length 'N', you need to find the frequency of each of the characters from ‘a’ to ‘z’ in the given string.

Example :

Given 'S' : abcdg
Then output will be : 1 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
Try solving now
03
Round
Easy
Telephonic
Duration20 Minutes
Interview date23 Sep 2020
Coding problem2

Introduction
Projects
DBMS
Oops

1. Digit Count In Range

Moderate
25m average time
75% success
0/80
Asked in companies
MicrosofteBayOla

You are given an integer ‘K’, and two numbers ‘A’ and ‘B’. You need to count the occurrences of the given digit ‘K’, in the range [A, B].

Note:
 You need to count occurrences at every place of the number. You also need to include the lower and higher limits of the given range
For example :
Given K = 3, A = 1, B = 15, then 3 occurs 2 times(3, 13) in the range [1, 15], so you need to print 2.
Try solving now

2. Reverse the String

Easy
15m average time
85% success
0/40
Asked in companies
IBMFacebookAcko

You are given a string 'STR'. The string contains [a-z] [A-Z] [0-9] [special characters]. You have to find the reverse of the string.

For example:

 If the given string is: STR = "abcde". You have to print the string "edcba".
follow up:
Try to solve the problem in O(1) space complexity. 
Try solving now
04
Round
Easy
Video Call
Duration40 Minutes
Interview date24 Sep 2020
Coding problem2

 Introduction
 Projects (describe all mention in resume)
 Polymorphism (definition, types and real world example)
 Joins (left & right)
 Use of groupby
 JVM (JDK & JRE)

1. Missing Number

Moderate
30m average time
70% success
0/80
Asked in companies
HSBCSterlite Technologies LimitedSamsung

You are given an array/list ‘BINARYNUMS’ that consists of ‘N’ distinct strings which represent all integers from 0 to N in binary representation except one integer. This integer between 0 to ‘N’ whose binary representation is not present in list ‘BINARYNUMS’ is called ‘Missing Integer’.

Your task is to find the binary representation of that ‘Missing Integer’. You should return a string that represents this ‘Missing Integer’ in binary without leading zeros.

Note

1. There will be no leading zeros in any string in the list ‘BINARYNUMS’.

Example:

Consider N = 5 and the list ‘binaryNums’=  [“0”, “01”, “010”, “100”, “101”].  This list consists of the binary representation of numbers [0, 1, 2, 4, 5]. Clearly, the missing number is 3 and its binary representation will be “11”. So you should return string “11”.
Try solving now

2. Find Two Missing Numbers

Moderate
25m average time
75% success
0/80
Asked in companies
AdobeMorgan StanleyOracle

You are given an array of unique integers where each element in the array is in the range [1, N]. The array has all distinct elements, and the array’s size is (N - 2). Hence, two numbers from the range are missing from this array. Your task is to return the two missing numbers.

For Example :

If ‘N’ = 6
[1, 3, 6, 5]
Then the output will be 2 4.
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 | 3 problems
Interviewed by Paxcom
570 views
0 comments
0 upvotes
SDE - 1
4 rounds | 4 problems
Interviewed by Paxcom
801 views
0 comments
0 upvotes
Software Engineer
4 rounds | 9 problems
Interviewed by Paxcom
649 views
0 comments
0 upvotes
SDE - Intern
2 rounds | 4 problems
Interviewed by Paxcom
638 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes