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

QA

Nucleus Software
upvote
share-icon
3 rounds | 6 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
Video Call
Duration60 min
Interview date16 Mar 2022
Coding problem2

- Morning time
- Environment was good.
- No
- 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 date14 Apr 2022
Coding problem3

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

1. Maximum Subarray Sum

Moderate
35m average time
81% success
0/80
Asked in companies
HCL TechnologiesInformaticaSamsung

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

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

3. Minimum Cost Path

Moderate
25m average time
70% success
0/80
Asked in companies
HSBCHCL TechnologiesHCL Technologies

You have been given a matrix of ‘N’ rows and ‘M’ columns filled up with integers. Find the minimum sum that can be obtained from a path which from cell (x,y) and ends at the top left corner (1,1).

From any cell in a row, we can move to the right, down or the down right diagonal cell. So from a particular cell (row, col), we can move to the following three cells:

Down: (row+1,col)
Right: (row, col+1)
Down right diagonal: (row+1, col+1)
Problem approach

s1- I had practiced enough of DP questions
s2- , so this one looked fairly easy. Since it was a standard DP question, the same approach worked here too.

Try solving now
03
Round
Medium
HR Round
Duration30 min
Interview date18 Aug 2022
Coding problem1

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

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 - Intern
2 rounds | 3 problems
Interviewed by Nucleus Software
1268 views
0 comments
0 upvotes
Associate Software Engineer
2 rounds | 2 problems
Interviewed by Nucleus Software
1658 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3320 views
0 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