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

QA

Cloud Analogy
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Participate in live contests on websites like Codechef, Codeforces etc as much as possible.
Tip 2 : Practice previous interview questions from LeetCode, GeeksForGeeks.
Tip 3 : Revise Computer Science subjects like DBMS, OOPS thoroughly.

Application process
Where: Campus
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Add projects and Internships if you have done any and add only those things which you really know.
Tip 2 : Do not put false things on resume.

Interview rounds

01
Round
Medium
Face to Face
Duration60 min
Interview date16 Mar 2022
Coding problem2

- Morning time
- Environment was good.
- Interviewer was good

1. Next Greater Number

Moderate
15m average time
90% success
0/80
Asked in companies
Morgan StanleySamsungArcesium

You are given a string S which represents a number. You have to find the smallest number strictly greater than the given number which contains the same set of digits as of the original number i.e the frequency of each digit from 0 to 9 should be exactly the same as in the original number.

For example:
If the given string is 56789, then the next greater number is 56798. Note that although 56790 is also greater than the given number it contains 1 '0' which is not in the original number and also it does not contain the digit '8'.

Note:

The given string is non-empty.

If the answer does not exist, then return -1.

The given number does not contain any leading zeros.
Problem approach

s1- I have done this question earlier so just use already built algorithm which traverses the number from the back.
s2- smallest number that has same set of digits as n and is greater than n

Try solving now

2. 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.
Problem approach

s1- I simply started from 0,0 point 
s2- if the robot again reaches to 0,0 point then motion is circular. I explained my whole approach on paper to the interviewer.

Try solving now
02
Round
Medium
Video Call
Duration30 min
Interview date18 Jun 2022
Coding problem2

1. Maximum Subarray Sum

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

Given an array of numbers, find the maximum sum of any contiguous subarray of the array.


For example, given the array [34, -50, 42, 14, -5, 86], the maximum sum would be 137, since we would take elements 42, 14, -5, and 86.


Given the array [-5, -1, -8, -9], the maximum sum would be -1.


Follow up: Do this in O(N) time.

Problem approach

s1- I used the Kadane algorithm.
s2- to solve this question and wrote a clean code with which could work on negative numbers also.

Try solving now

2. Connect N Ropes With Minimum Cost

Easy
20m average time
80% success
0/40
Asked in companies
ArcesiumUberOptum

You have been given 'N' ropes of different lengths, we need to connect these ropes into one rope. The cost to connect two ropes is equal to sum of their lengths. We need to connect the ropes with minimum cost.

The test-data is such that the result will fit into a 32-bit integer.

Problem approach

S1- I solved this question using a priority queue(max heap) 
S2- by inserting all elements in the priority queue and then taking the maximum two out of them and pushing their sum again to the priority queue.

Try solving now
03
Round
Medium
HR Round
Duration30 min
Interview date13 Jul 2022
Coding problem1

1. Basic Hr Questions

- Describe who you are? or Tell me about your background.
- What are your strengths and weaknesses?
- You have not done your PG yet. This is not a drawback, but don’t you think you should get a PG degree asap?
- You have changed jobs/jumped ship too many times already, why so?
- What are your strong points? or What are your strengths?
- What is your greatest fear?

Problem approach

Tip 1: Communication skills is must
Tip 2: Give mock tests.

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 - 1
3 rounds | 3 problems
Interviewed by Cloud Analogy
1294 views
0 comments
0 upvotes
SDE - 1
3 rounds | 3 problems
Interviewed by Cloud Analogy
1173 views
0 comments
0 upvotes
SDE - Intern
3 rounds | 3 problems
Interviewed by Cloud Analogy
3129 views
0 comments
0 upvotes
Salesforce Developer
2 rounds | 4 problems
Interviewed by Cloud Analogy
1271 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
QA
4 rounds | 4 problems
Interviewed by HCL Technologies
0 views
0 comments
0 upvotes