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

SDE - 2

Soft Suave
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 5 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming ,Greedy Algorithms, Computer Networks
Tip
Tip

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application process
Where: Campus
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Focus on skills, projects and experiences more.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration50 minutes
Interview date6 Jun 2022
Coding problem3

Data Structure based round. Three coding questions were asked in this round.

1. Reverse the String

Easy
15m average time
85% success
0/40
Asked in companies
DelhiveryCIS - Cyber InfrastructureFacebook

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

2. Maximum Subarray Sum

Moderate
35m average time
81% success
0/80
Asked in companies
NoBrokerInformaticaGoldman Sachs

You are given an array 'arr' of length 'n', consisting of integers.


A subarray is a contiguous segment of an array. In other words, a subarray can be formed by removing 0 or more integers from the beginning and 0 or more integers from the end of an array.


Find the sum of the subarray (including empty subarray) having maximum sum among all subarrays.


The sum of an empty subarray is 0.


Example :
Input: 'arr' = [1, 2, 7, -4, 3, 2, -10, 9, 1]

Output: 11

Explanation: The subarray yielding the maximum sum is [1, 2, 7, -4, 3, 2].
Try solving now

3. Missing Numbers

Easy
28m average time
85% success
0/40
Asked in companies
AmazonThought WorksAdobe

You are given an array 'ARR' of distinct positive integers. You need to find all numbers that are in the range of the elements of the array, but not in the array. The missing elements should be printed in sorted order.

Example:
If the given array is [4, 2, 9] then you should print "3 5 6 7 8". As all these elements lie in the range but not present in the array.
Try solving now
02
Round
Easy
Online Coding Test
Duration50 minutes
Interview date24 Jun 2022
Coding problem2

It was basically round with two coding questions of easy and medium level.

1. Negative to the end

Easy
15m average time
75% success
0/40
Asked in company
Soft Suave

You are given an array ‘A’ of size ‘N’ consisting of both negative and positive integers. You need to return an array in which all the negative numbers are at the end of the array, but the relative order of positive and negative elements is the same.

Example:
Input: ‘N’ = 6
‘A’ = [-1, 2, -3, 1, 13, -10]

Output: [2, 1, 13, -1, -3, 10]

Explanation: In the output array, all the negative elements come after positive elements, and we can also see that the order of positive elements and negative elements is the same, i.e., 2 comes before 1 and 13 in the final array because in the array ‘A’, 2 comes before 1 and 13, and for all other elements, this condition follows.
Try solving now

2. Divisible Set

Moderate
0/80
Asked in companies
UberNagarro SoftwareSoft Suave

You are given an array of distinct numbers ‘arr’ of size 'n'.


Your task is to return the largest subset of numbers from ‘arr’, such that any pair of numbers ‘a’ and ‘b’ from the subset satisfies the following: a % b == 0 or b % a == 0.


A subset is nothing but any possible combination of the original array


Example:
Input: ‘arr’ = [1, 16, 7, 8, 4]

Output: [1, 4, 8, 16].

Explanation: In the set {1, 4, 8, 16}, you can take any pair from the set, and either one of the elements from the pair will divide the other.

There are other possible sets, but this is the largest one.
Try solving now
03
Round
Easy
HR Round
Duration20 minutes
Interview date10 Jul 2022
Coding problem1

1. Basic HR Questions

Why should we hire you?
What are your hobbies?
What do you think makes you different from other candidates?
What is your salary expectation?

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 the purpose of the return keyword?

Choose another skill to practice
Similar interview experiences
SDE - 1
3 rounds | 7 problems
Interviewed by Soft Suave
1159 views
0 comments
0 upvotes
Software Engineer
3 rounds | 7 problems
Interviewed by Soft Suave
1757 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Soft Suave
2488 views
0 comments
0 upvotes
Software Engineer
3 rounds | 6 problems
Interviewed by Soft Suave
1522 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
29739 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by HashedIn
9654 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6728 views
1 comments
0 upvotes