Zarantech Software Private Limited interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Zarantech Software Private Limited
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I have been practising DSA and CS fundamentals since my 3rd year of engineering. Along with it, I was also learning web development, and I created some good projects.
Application story
This company visited our campus to hire candidates. I applied for the position. The process included many rounds, starting with an online assessment.
Why selected/rejected for the role?
I was rejected because I was not able to provide a concise and good solution to the question asked of me.
Preparation
Duration: 4 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1: Mention some good projects on your resume. 

Tip 2: Be confident. 

Tip 3: Be good with computer science basics and data structures and algorithms.

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

Tip 1: Highlight good projects. 

Tip 2: Having some achievements is a plus.

Interview rounds

01
Round
Easy
Video Call
Duration60 minutes
Interview date11 May 2023
Coding problem2

1. Convert Sentence

Easy
15m average time
85% success
0/40
Asked in companies
UST GlobalNagarro SoftwareD.E.Shaw

You are given a sentence in the form of a string ‘S’. You have to convert ‘S’ into its equivalent mobile numeric keypad sequence, i.e. print the sequence in such a way that if it is typed on the given keypad, the output should be the string ‘S’. A keypad for the reference is shown below.

Note:

1. There will be only lower case letters.
2. There will not be any special characters or capital letters in the input string.
3. There will be no spaces in the string.
Try solving now

2. Convert Min Heap To Max Heap

Moderate
25m average time
75% success
0/80
Asked in companies
OLX GroupAmazonSAP Labs

You are given an array of size ‘N’ which is an array representation of min-heap.


You need to convert this min-heap array representation to a max-heap array representation. Return the max-heap array representation.


For Example
Corresponding to given min heap : [1,2,3,6,7,8]

It can be converted to the following max heap: [8,7,3,6,2,1]

Problem approach

I simply used the concept of building a heap in the given array, which had an O(n) time complexity, and the interviewer was satisfied with my approach.

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date11 May 2023
Coding problem2

1. Selling Stock

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

You are given an array/list 'prices' where the elements of the array represent the prices of the stock as they were yesterday and indices of the array represent minutes. Your task is to find and return the maximum profit you can make by buying and selling the stock. You can buy and sell the stock only once.

Note:

You can’t sell without buying first.
For Example:
For the given array [ 2, 100, 150, 120],
The maximum profit can be achieved by buying the stock at minute 0 when its price is Rs. 2 and selling it at minute 2 when its price is Rs. 150.
So, the output will be 148.
Try solving now

2. Maximum Difference Between Node And Ancestor

Easy
10m average time
90% success
0/40
Asked in companies
IBMLeena AI

Given a binary tree, return the maximum absolute difference between a node and its ancestor, for any ancestor-node pair in the binary tree.

The ancestor of any node is defined as the node/nodes which come above the current node in the binary tree. For example, the root node is ancestor of every node in the binary tree.

For example :

TC1(2)

In the above figure, we have many nodes which have a node and ancestor relationship.

Some of them are, and their difference is:

|1-4|=3
|2-4|=2
|3-4|=1
|6-4|=2
|7-4|=3
And more

Out of all the possible parent ancestor pairs, the one with the maximum absolute difference is between nodes (7 and 4) and (1 and 4) which is 3. Therefore, the answer to this case is 3.

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
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
Software Developer
3 rounds | 5 problems
Interviewed by Zarantech Software Private Limited
472 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Zarantech Software Private Limited
472 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3452 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