Infosys private limited interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Infosys private limited
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: DSA, Computer Networks, OS, OOPS, Dynamic Programming
Tip
Tip

Tip 1 : Learn the concepts carefully
Tip 2 : Do at least 20 coding questions every day
Tip 3 : Improve conversation skills

Application process
Where: Other
Eligibility: 6 CGPA
Resume Tip
Resume tip

Tip 1 : Mention your programming skills carefully and do not put false things
Tip 2 : Mention the project above that you are best at

Interview rounds

01
Round
Medium
Online Coding Test
Duration180 minutes
Interview date5 Jan 2022
Coding problem2

1. First non repeating character

Easy
15m average time
80% success
0/40
Asked in companies
QuikrAmazonWalmart

Ninja is now bored with numbers and is now playing with characters but hates when he gets repeated characters. Ninja is provided a string, and he wants to return the first unique character in the string.The string will contain characters only from the English alphabet set, i.e., ('A' - 'Z') and ('a' - 'z'). If there is no non-repeating character, print the first character of the string. If there is no non-repeating character, return the first character of the string.

Try solving now

2. Batteries

Hard
50m average time
60% success
0/120

You have to go to a city at night which is 'M' miles away from you, using your torch and a portable charger. Initially, your torch has 'B' units of battery level. Your torch can't glow while charging, so you can't move forward while charging your torch's battery.

Every hour, you can choose to do either one of the following two things with your torch:

1. Charge: Your torch's battery level will increase by one unit.
2. Glow: You will cover one mile of your journey and if you had not walked in the previous hour, your torch's battery level would remain the same; otherwise, it will decrease by one unit more than it had decreased in the previous hour.

For example, if you walk for the first hour, the battery level will decrease by 0, i.e., remain the same, then again if you walk in the next hour, the battery level will decrease by 1, then in the next hour walk by 2, and so on. Then if you charge for an hour, the battery level will increase by 1, then in the next hour, if you choose to walk, the battery level will decrease by 0, and so on.

Note: The battery level should never go below 0.

You have to reach the city in the minimum possible time. If there are multiple ways in which you can reach the city in minimum time, you'll choose the way in which you can retain the maximum battery level.

For Example :
Let 'M' = 2, 'B' = 0.
We do the following moves:

"Glow", Battery level decreases by '0', we walk one mile towards the city.
"Charge", Battery level increases by '1'.
"Glow", Battery level decreases by '0', we walk one more mile towards the city.

Thus, we reached the city in '3' hours with a battery level of '1'.
Therefore the answer is '3 1'.
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date4 Mar 2022
Coding problem2

1. Circular Queue

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

You will be given ‘Q’ queries. You need to implement a circular queue according to those queries. Each query will belong to one of these two types:

1 ‘X’: Enqueue element ‘X’ into the end of the nth queue. Returns true if the element is enqueued, otherwise false.

2: Dequeue the element at the front of the nth queue. Returns -1 if the queue is empty, otherwise, returns the dequeued element.
Note:
Enqueue means adding an element to the end of the queue, while Dequeue means removing the element from the front of the queue.
Try solving now

2. Money in the bank

Easy
0/40

Harshit wants to save money for his first car. He puts money in the Ninja bank every day.

He starts by putting in ‘1’ rupee on Monday, the first day. Every day from Tuesday to Sunday, he will put in ‘1’ rupee more than the day before. On every subsequent Monday, he will put in ‘1’ rupee more than the previous Monday.

You are given ‘N’, your task is to return the total amount of money he will have in the Ninja bank at the end of the ‘N’th day.

For example:

Given ‘N’ = 2 
On Day 1 = 1
On Day 2 = 2 
Total Amount = 1 + 2 = 3.
Therefore the answer is 3.
Try solving now
03
Round
Medium
HR Round
Duration60 minutes
Interview date3 May 2022
Coding problem1

1. Basic HR Questions

What are your weaknesses and how you can get over them?

What is your biggest achievement?

Why should we hire you?

Here's your problem of the day

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

Skill covered: Programming

To make an AI less repetitive in a long paragraph, you should increase:

Choose another skill to practice
Similar interview experiences
SDE - 1
2 rounds | 5 problems
Interviewed by Infosys private limited
1009 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Infosys private limited
1224 views
0 comments
0 upvotes
SDE - 1
3 rounds | 3 problems
Interviewed by Infosys private limited
1164 views
1 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Infosys private limited
1035 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114453 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57719 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34914 views
7 comments
0 upvotes