Prochant India Pvt.Ltd interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Prochant India Pvt.Ltd
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I was advised by my seniors to practice DSA from the very beginning of B.Tech, but I did not take that seriously. Honestly speaking, I regretted not taking their advice, and in the third year, I started doing coding. I had to increase my practice hours because I started late. By the end of the third year, I was confident in both DSA and development, but even then, I kept revising the concepts.
Application story
This company visited to my campus for the placement. We just had to upload resume and fill all details in the form. First, they took the online assessment. Later, they called us for the interview rounds.
Why selected/rejected for the role?
The basic reason for my rejection was my not that much strong knowledge of core DSA fundamentals and my problem-solving ability is also not that much good.
Preparation
Duration: 6 months
Topics: Data Structures, Algorithms, OOPS, Dynamic Programming
Tip
Tip

Tip 1 : Practice popular questions from Arrays, Binary Trees, LinkedLists from CodeStudio's Interview Problems.
Tip 2 : Make sure you are aware of calculating the time and space complexity for every problem you're coding.
Tip 3 : Prepare through Mock Interviews to practice explaining your approach while solving in an actual interview.

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

Tip 1: Describe the best of your projects in as few words as possible. Don't forget to add buzzwords like REST APIs, DB Indexing, Benchmarking, etc., if you worked on the backend.
Tip 2: Don't include school achievements like Olympiads or Class Topper in your resume.
Tip 3: If you have some work experience, present it in a way that markets yourself. Use terms like 'Created/Owned the Project through the entire SDLC'.

Interview rounds

01
Round
Easy
Face to Face
Duration60 minutes
Interview date25 Mar 2023
Coding problem2

1. Majority element

Easy
15m average time
85% success
0/40
Asked in companies
AmazonInfo Edge India (Naukri.com)HCL Technologies

You have been given an array/list 'ARR' consisting of 'N' integers. Your task is to find the majority element in the array. If there is no majority element present, print -1.

Note:
A majority element is an element that occurs more than floor('N' / 2) times in the array.
Problem approach

This is a two-step process:

The first step identifies the element that may be the majority element in the array. If there is a majority element in the array, then this step will definitely return the majority element; otherwise, it will return a candidate for the majority element. Check if the element obtained from the above step is the majority element. This step is necessary, as there might be no majority element.

Try solving now

2. Ways To Make Coin Change

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

You are given an infinite supply of coins of each of denominations D = {D0, D1, D2, D3, ...... Dn-1}. You need to figure out the total number of ways W, in which you can make a change for value V using coins of denominations from D. Print 0, if a change isn't possible.

Problem approach

Basically, If we are at s[m-1], we can take as many instances of that coin ( unbounded inclusion ) i.e count(S, m, n – S[m-1] ) ; then we move to s[m-2]. After moving to s[m-2], we can’t move back and can’t make choices for s[m-1] i.e count(S, m-1, n ).

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date25 Mar 2023
Coding problem2

1. Sort 0 1 2

Easy
22m average time
0/40
Asked in companies
Expedia GroupWalmartHCL Technologies

You have been given an integer array/list(ARR) of size 'N'. It only contains 0s, 1s and 2s. Write a solution to sort this array/list.

Note :
Try to solve the problem in 'Single Scan'. ' Single Scan' refers to iterating over the array/list just once or to put it in other words, you will be visiting each element in the array/list just once.
Problem approach

Algorithm: 
Keep three counter c0 to count 0s, c1 to count 1s and c2 to count 2s
Traverse through the array and increase the count of c0 if the element is 0,increase the count of c1 if the element is 1 and increase the count of c2 if the element is 2
Now again traverse the array and replace first c0 elements with 0, next c1 elements with 1 and next c2 elements with 2.

Try solving now

2. Kth smallest element in an unsorted array

Moderate
15m average time
85% success
0/80
Asked in companies
DelhiveryAmazonGrab

Given an unsorted array ‘arr’ of distinct integers and an integer ‘k’, your task is to find the ‘k-th’ smallest element in the array.

Example:
n = 5, k = 2 and arr[] = {6, 5, 4, 8, 7}
The array elements in sorted order are [4, 5, 6, 7, 8]. The ‘2-nd’ smallest element in the array is 5, so the answer is 5.
Note:
1. Don’t print anything. Return the value of ‘k-th’ smallest element.
2. ‘k’ is a positive integer and not greater than the size of the array.
3. The array ‘arr’ is unsorted, and all the elements of the array are distinct.
Problem approach

We can also use Max Heap for finding the k’th smallest element. Following is an algorithm. 
1) Build a Max-Heap MH of the first k elements (arr[0] to arr[k-1]) of the given array. O(k)
2) For each element, after the k’th element (arr[k] to arr[n-1]), compare it with root of MH. 
……a) If the element is less than the root then make it root and call heapify for MH 
……b) Else ignore it. 
// The step 2 is O((n-k)*logk)
3) Finally, the root of the MH is the kth smallest element.
Time complexity of this solution is O(k + (n-k)*Logk)

Try solving now
03
Round
Easy
HR Round
Duration30 minutes
Interview date25 Mar 2023
Coding problem1

1. Basic HR Questions

Tell me about yourself.
Why should I hire you?
What are your strengths and weaknesses?
Why do you want to work at our company?
What is the difference between confidence and over confidence?

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
SDE - 1
3 rounds | 5 problems
Interviewed by Prochant India Pvt.Ltd
732 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Prochant India Pvt.Ltd
491 views
0 comments
0 upvotes
SDE - 1
3 rounds | 7 problems
Interviewed by Prochant India Pvt.Ltd
391 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3639 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115097 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes