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

Software Engineer

Unbxd
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
My journey into software development started with building a strong foundation in core programming concepts and understanding how the web works. Initially, I focused on mastering JavaScript fundamentals, data structures, and problem-solving, which helped me develop logical thinking and confidence in coding. As I progressed, I moved towards frontend development with React, where I learned how to build scalable and reusable UI components. Instead of just following tutorials, I focused on building real-world projects such as a collaborative whiteboard application, which gave me hands-on experience with concepts like state management, WebSockets, and real-time data flow.
Application story
I came across the opportunity through an online job portal while actively exploring roles that aligned with my experience in frontend and full-stack development. The role particularly interested me because it involved working on scalable web applications and modern technologies that I have been using in my recent projects.
Why selected/rejected for the role?
I was not able to clear the second round. There were some question I was not able to answer.
Preparation
Duration: 1 month
Topics: Data Structures, Java, JS, React, Node, SQL, Express
Tip
Tip

Tip 1: You should be good at logic building and problem-solving.
Tip 2: Prepare JavaScript in depth, at least to a strong working level.

Application process
Where: Linkedin
Eligibility: NA, (Salary package: 10 LPA)
Resume Tip
Resume tip

Tip 1: Your resume should be well documented and clearly structured.
Tip 2: Aim for an ATS score of at least 70 to improve your chances of shortlisting.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 minutes
Interview date14 Dec 2023
Coding problem2

The test consisted of 30 MCQs on HTML, CSS, and JavaScript, along with two coding questions.

1. Maximum Subarray Sum

Moderate
35m average time
81% success
0/80
Asked in companies
AppleSAP LabsQualcomm

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

The Intuition behind the code is to find the maximum sum of a contiguous subarray within the given array nums. It does this by scanning through the array and keeping track of the current sum of the subarray. Whenever the current sum becomes greater than the maximum sum encountered so far, it updates the maximum sum. If the current sum becomes negative, it resets the sum to 0 and starts a new subarray. By the end of the loop, the code returns the maximum sum found.

Try solving now

2. Good Arrays

Moderate
20m average time
85% success
0/80
Asked in companies
AdobeOlaCiticorp

You are given an array ‘A’ of length ‘N’, you have to choose an element from any index in this array and delete it. After deleting the element you will get a new array of length ‘N’-1. Your task is to find the number of such arrays of length ‘N’-1 which are good.

Note :

An array is called good if the sum of elements in odd indexes is equal to the sum of elements in even indexes.

For Example :

In array A= [1 2 4 3 6], if we delete A[4]=6, we will get new array B= [1 2 4 3], where B[0] + B[2] = B[1] + B[3] = 5, which means array B is good.
Problem approach

One pass on A,
For each different number a in A,
we need to count its frequency and it first occurrence index.
If a has the maximum frequency,
update the degree = count[a] and res = i - first[A[i]] + 1.
If a is one of the numbers that has the maximum frequency,
update the res = min(res, i - first[A[i]] + 1)

Try solving now
02
Round
Easy
Face to Face
Duration60 minutes
Interview date20 Dec 2023
Coding problem2

1. Generate all parenthesis

Moderate
30m average time
85% success
0/80
Asked in companies
IntuitMakeMyTripApple

You are given an integer 'N', your task is to generate all combinations of well-formed parenthesis having ‘N’ pairs.


A parenthesis is called well-formed if it is balanced i.e. each left parenthesis has a matching right parenthesis and the matched pairs are well nested.


For Example:

For ‘N’ = 3,
All possible combinations are: 
((()))
(()())
(())()
()(())
()()()
Problem approach

The idea is to add ')' only after valid '('
We use two integer variables left & right to see how many '(' & ')' are in the current string
If left < n then we can add '(' to the current string
If right < left then we can add ')' to the current string

Try solving now

2. Trapping Rain Water

Moderate
15m average time
80% success
0/80
Asked in companies
NoBrokerHCL TechnologiesGrofers

You have been given a long type array/list 'arr’ of size 'n’.


It represents an elevation map wherein 'arr[i]’ denotes the elevation of the 'ith' bar.



Note :
The width of each bar is the same and is equal to 1.
Example:
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].

Output: 10

Explanation: Refer to the image for better comprehension:

Alt Text

Note :
You don't need to print anything. It has already been taken care of. Just implement the given function.
Problem approach

Maintain two pointers left and right.
Track leftMax and rightMax.
If height[left] < height[right], then water trapped at left depends only on leftMax.
If height[left] >= leftMax, update leftMax.
Else, add leftMax - height[left].
Move left++.
Else do the same for right using rightMax.

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

Which data structure is used to implement a DFS?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
9191 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS
1002 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3586 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2856 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
8009 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
10211 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4498 views
1 comments
0 upvotes