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

Software Engineer

Country Delight
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
Initially I don't have much interest in the coding part. But later on, I have started my preparation from my 6th semester. I have done 350+ questions on one coding platform and 400+ questions on other.
Application story
The company visited my campus, and students with a CGPA above 7.5 were selected to sit for the placements. It had three technical rounds followed by an HR round.
Why selected/rejected for the role?
I was selected for this role because I have a strong grasp of DSA and core CS fundamentals. One should have a good knowledge of DSA to crack any top company. In both technical rounds, I was able to answer all the questions, from brute force to optimized solutions, along with their time and space complexity.
Preparation
Duration: 3 months
Topics: Object-Oriented Programming, Data Structures and Algorithms, Operating System, Database Management System, Computer Networks
Tip
Tip

Tip 1: Questions are asked on DSA, so practice them well. It's not about the number of questions you practice but how well you practice them. Prepare a notebook and write down the approach you follow. Make proper notes and maintain that notebook, as it will help with quick revision.

Tip 2: Conceptual questions are asked from topics other than DSA, so just watching videos on YouTube will not help. Read the book thoroughly to prepare yourself for interviews.

Tip 3: ALWAYS read about real-life examples of the concepts you study. These are often asked in interviews, and you will definitely regret failing to answer such questions.

Application process
Where: Campus
Eligibility: 6
Resume Tip
Resume tip

Tip 1: Having projects on your resume will help direct your interview, increasing your chances of selection.
Tip 2: Include some achievements outside of academics; this shows that you are a team player and increases the probability of being shortlisted. However, do not write anything that is not true, as it may backfire.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 mins
Interview date22 Dec 2021
Coding problem2

The test was conducted in the evening from 7:00 pm to 8:30 pm. Due to the COVID situation, the test was held online and taken by all the students from their homes. A 15-minute login window was provided, and all students were required to log in within the first 15 minutes (between 7:00 and 7:15 pm). The test was conducted on AMCAT, with the webcam active for the entire test duration.

There were two sections in the test: 1) A coding round with 2 coding questions - 60 minutes, and 2) An MCQ round with 30 MCQs - 30 minutes.

A total of 120 students appeared for this round, and 20 were shortlisted for further processing.

1. Most Frequent Word

Easy
15m average time
85% success
0/40
Asked in companies
AtlassianAmazonHackerEarth

You are given two strings 'A' and 'B' of words. Your task is to find out the most frequent and lexicographically smallest word in string 'A', which is not present in string 'B'. If no such word is present in 'A', then return -1.

Note:

1. A word is a sequence of one or more lowercase characters.

2. Words are separated by a single whitespace character.
Example:
For the given string 'A' = “coding ninjas coding ninjas” and 'B' = “data structures and algorithms”, so both the word 'coding' and 'ninjas' are not present in string 'B' and occur two times each, but the word “coding” is lexicographically smaller than the word “ninjas”. So the answer is “coding”.
Problem approach

Simple hashing problem

Try solving now

2. Longest Common Prefix After Rotation

Moderate
30m average time
60% success
0/80
Asked in companies
IBMMicrosoftOLX Group

You are given two strings 'A' and 'B' where string 'A' is fixed. But you can perform left shift operations on string B any number of times.

Your task is to find out the minimum number of left-shift operations required in order to obtain the longest common prefix of string 'A' and 'B'.

Note:

Left shift is defined as a single circular rotation on the string after which the first character becomes the last character and all other characters are shifted one index to the left.
For Example:
If A = “an”, B = “can”.
After performing one left shift operation, string B becomes “anc”.
After performing two left shift operations, string B becomes “nca”.
Follow Up:
Can you solve this in linear time and space complexity?
Problem approach

String operation

Try solving now
02
Round
Medium
Video Call
Duration70 mins
Interview date23 Dec 2021
Coding problem2

This round started at 11 a.m. and went until 3 p.m. Out of the 120 students who appeared in the online coding test, 20 were shortlisted for the first round of interviews. In this round, everyone was asked some moderate-level coding questions. We were supposed to write the code in our IDE, present the screen, and show the interviewer the output of our code. The interview started with introductions, followed by two coding problems.

1. Longest Subarray Zero Sum

Moderate
18m average time
85% success
0/80
Asked in companies
AmazonOlaPayU

Given an array arr of length N consisting of positive and negative integers, return the length of the longest subarray whose sum is zero.

Problem approach

I solved this problem using hashmaps because of their O(1) search operation. I applied two nested loops and then used the hashmap to search for the third element to make the sum zero. The time complexity of this approach is O(n²).

Another approach that uses sorting also had a time complexity of O(n²).

The interviewer was happy with my answer.

Try solving now

2. Max Frequency

Easy
10m average time
95% success
0/40
Asked in companies
Chegg Inc.DunzoIntuit

Let’s define the beauty of an array to be equal to the value present in the array, which is having the maximum frequency. If there are multiple such values, then the smallest among such values will be selected.

Alice gave Bob an array ‘A’ of size ‘N’ and asked him to find the beauty of the frequencies of the values present in the array. In simple words, Bob first needs to find the frequencies of all values present in the array, then find the beauty of this frequency array.

Help Bob in finding the beauty of the frequencies of the values present in the array.

Problem approach

This problem was based on the CPU scheduling concept in Operating Systems. For this problem, I created a variable and used it as a timer, updating it as time = (time + 0.5). I also created a boolean array of size three to represent the availability of three meeting rooms. After that, a normal iteration was performed to check the availability of the meeting rooms throughout the entire day.

When I told the interviewer that this problem is based on OS, he smiled and was very impressed with my approach. The time complexity of my approach is O(n).

Try solving now
03
Round
Easy
HR Round
Duration35 mins
Interview date23 Dec 2021
Coding problem2

Seven students were shortlisted for the HR round. This round started at 7:30 pm and lasted until 8:30 pm. Like all the other rounds, this round was also virtual (on Google Meet). In the beginning, the interviewer introduced himself and then asked questions based on my resume. All seven candidates were selected in the HR round.

1. HR Question

Tell me about yourself.

Problem approach

Tip 1: Share less about your family and more about your technical skills.
Tip 2: Talk about your work experiences and the projects you completed that demonstrate the skills you mentioned.
Tip 3: Always prepare this part before the interview and practice in front of a mirror.

2. Project And Previous Internship Questions

What type of projects did you work on at CDAC? What problem did that project solve?

Since my project was based on chatbots, I was asked these questions: 

-- What chatbots have you used in real life, and what are they used for?

-- What is your opinion on the quality of service that chatbots provide? 

-- My (interviewer's) experience with chatbots has not been very good. What further changes can be made to improve chatbots so that all queries can be resolved by them?

Problem approach

Tip 1: These questions were based on my project, so having thorough and detailed knowledge about the project is necessary to ace such questions.
Tip 2: Always research the problems that your project will resolve. This is the most frequently asked question in interviews.

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 Engineer
2 rounds | 3 problems
Interviewed by Country Delight
962 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6451 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
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7874 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9973 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4310 views
1 comments
0 upvotes