Premium Employer

i

This company page is being actively managed by Infogain Team. If you also belong to the team, you can get access from here

Infogain Verified Tick Work with us arrow

Compare button icon Compare button icon Compare

Filter interviews by

Infogain Java Developer Interview Questions and Answers

Updated 10 Aug 2024

Infogain Java Developer Interview Experiences

3 interviews found

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(10 Questions)

  • Q1. Tell me about yourself and the project you have done
  • Q2. Have you work on the spring boot freamwork
  • Q3. Collection framework
  • Q4. Write a program to make a Linkedlist, you have to develop the logic for the linkedlist suppose your are the first who is going to invent the linkedlist what would be the apporach how you create the add/del...
  • Ans. 

    Implementing a basic LinkedList from scratch with add and delete methods.

    • Define a Node class with data and a reference to the next node.

    • Create a LinkedList class to manage the head of the list.

    • Implement an add method to insert nodes at the end or beginning.

    • Implement a delete method to remove nodes by value or position.

    • Consider edge cases like empty list or deleting the head node.

  • Answered by AI
  • Q5. Have you worked on the Data Structures
  • Q6. Have you worked on the Multithreading
  • Q7. Write a program to find the min and max no from the array
  • Ans. 

    Program to find min and max no from array of strings

    • Iterate through the array and compare each element to find min and max

    • Use Integer.parseInt() to convert strings to integers for comparison

    • Initialize min and max variables with first element of array

  • Answered by AI
  • Q8. Difference between the @controller vs @restcontroller
  • Q9. Difference between the @service vs @Repository
  • Q10. Difference between the Arrylist vs Linkedlist

Interview Preparation Tips

Interview preparation tips for other job seekers - Go through above all question the interview was taken by pran sukh for the pune location

Skills evaluated in this interview

Java Developer Interview Questions & Answers

user image Aditya Arora

posted on 10 Aug 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. HashMap Internal Working, OOPS concept
  • Q2. Starter dependency in spring boot, Annotations in Spring Boot, Microservices Architecture

Java Developer Interview Questions & Answers

user image GAUTAM RAJPUT

posted on 3 May 2022

I applied via Recruitment Consulltant and was interviewed before May 2021. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Basics of java, Collection, Microservices, Spring boot annotations, Kafka,
Round 2 - HR 

(1 Question)

  • Q1. Only Salary discussion

Interview Preparation Tips

Interview preparation tips for other job seekers - Be Prepare for the interview any time.

What people are saying about Infogain

View All
devinme
Verified Icon
2w
works at
Cardinal Health
Infogain Java Dev Interview: Anyone got recent experiences to share?
Anyone have recent interview experiences for a Java Dev (6+ years) role at Infogain, specifically for springboot microservices? Infogain
Got a question about Infogain?
Ask anonymously on communities.

Interview questions from similar companies

I appeared for an interview before Jun 2021.

Round 1 - Coding Test 

Had DSA and aptitude questions

Round 2 - Technical 

(1 Question)

  • Q1. DSA a questions, Database Questions
Round 3 - HR 

(1 Question)

  • Q1. 5 min question and answers about company

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare DSA and database management

I appeared for an interview in Oct 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 75 min
Round difficulty - Medium

This round was MCQ and coding round. 25 MCQs and one coding question were asked. MCQs were based on OS, DBMS, Aptitude and Data Structures.

  • Q1. 

    Minimum Days to Complete Work

    You have 'N' tasks to complete. Each task can only be done on one of two specific days provided in two arrays: day1 and day2.

    For each task i, day1[i] represents the earliest...

  • Ans. 

    Find the minimum number of days required to complete all tasks given specific completion days for each task.

    • Sort the tasks based on day1 in ascending order.

    • For each task, choose the minimum of day1 and day2 as the completion day.

    • Keep track of the maximum completion day for each task.

    • The final answer is the maximum completion day of all tasks.

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 30 min
Round difficulty - Easy

This was a Data Structural round. Only one coding question was asked by the interviewer. The interviewer was very friendly. This round was very easy.

  • Q1. 

    Bubble Sort Problem Statement

    Sort the given unsorted array consisting of N non-negative integers in non-decreasing order using the Bubble Sort algorithm.

    Input:

    The first line contains an integer 'T' r...
  • Ans. 

    Bubble Sort algorithm is used to sort an array of non-negative integers in non-decreasing order.

    • Implement the Bubble Sort algorithm to sort the array in place.

    • Compare adjacent elements and swap them if they are in the wrong order.

    • Repeat this process until the array is sorted.

    • Time complexity of Bubble Sort is O(n^2) in the worst case.

    • Example: For input [6, 2, 8, 4, 10], the output should be [2, 4, 6, 8, 10].

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from TIET - Thapar Institute of Engineering And Technology. I applied for the job as SDE - 1 in GurgaonEligibility criteria8Optum interview preparation:Topics to prepare for the interview - Data Structures, Pointers, OOPS,Dynamic Programminng,Operating System,DBMSTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : Be confident! 
Tip 2 : Maintain high Cgpa
Tip 3 : Do your best

Application resume tips for other job seekers

Tip 1 : Mention clear points
Tip 2 : Atleast 3 projects and never put anything you have not revised

Final outcome of the interviewSelected

Skills evaluated in this interview

I appeared for an interview before Sep 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 75 minutes
Round difficulty - Medium

It was in the evening.
It consisted of 26 questions of easy to hard level.
It consisted of 25 MCQs and only 1 coding problem.

  • Q1. 

    Author and Books Formatting

    Given a structured list of books and their authors, format the information as specified.

    Input:

    The first line of input contains an integer ‘T' representing the number of tes...
  • Ans. 

    The task is to format a list of authors and their books in a specific way as per the given input format.

    • Parse the input to extract the number of test cases, number of authors, author names, and their respective books.

    • Format the output by printing the author names and their books in the specified format.

    • Ensure correct sequence and labeling of authors and books as per the example provided.

    • Handle multiple test cases and a...

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 15 minutes
Round difficulty - Medium

It was more of CV based round. A brief discussion on projects was there followed by some questions like why optum.

  • Q1. 

    Delete a Node from a Linked List

    You are provided with a linked list of integers. Your task is to implement a function that deletes a node located at a specified position 'POS'.

    Input:

    The first line co...
  • Ans. 

    Implement a function to delete a node from a linked list at a specified position.

    • Traverse the linked list to find the node at the specified position.

    • Update the pointers of the previous and next nodes to skip the node to be deleted.

    • Handle edge cases such as deleting the head or tail of the linked list.

    • Ensure to free the memory of the deleted node to avoid memory leaks.

  • Answered by AI
Round 3 - Video Call 

(1 Question)

Round duration - 15 minutes
Round difficulty - Easy

A short round where some basic dbms questions like procedure, cursor were asked. Then some questions on whether I would prefer working alone or in a team. Where I see myself in 5 years.

  • Q1. 

    Graph Coloring Problem

    You are given a graph with 'N' vertices numbered from '1' to 'N' and 'M' edges. Your task is to color this graph using two colors, such as blue and red, in a way that no two adjacen...

  • Ans. 

    Given a graph with 'N' vertices and 'M' edges, determine if it can be colored using two colors without adjacent vertices sharing the same color.

    • Use graph coloring algorithm like BFS or DFS to check if the graph can be colored with two colors without conflicts.

    • Check if any adjacent vertices have the same color. If so, it is not possible to color the graph as described.

    • If the graph has connected components, color each co...

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaAbove 8 CGPA, Computer oriented branchesOptum interview preparation:Topics to prepare for the interview - DBMS, Data Structures, Algorithms, Puzzles, Operating Systems, OOPSTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Projects do not matter much for this company.
Tip 2 : I did almost all the puzzles from Interviewbit.
Tip 3 : DBMS is really important. Practice queries in SQL thoroughly. You should know the use of limit and top also. It may be asked to write the same query in more than 1 form.
Tip 4 : Practice all the data structures. Questions were simple and you should know the basics of every data structure.

Application resume tips for other job seekers

Tip 1 : Don't write anything just for the sake of it.
Tip 2 : If you are writing some project then be thorough with all the details. If you are not much confident, then simply remove it and focus on other subjects.

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview Questionnaire 

1 Question

  • Q1. Basic questions related to skillset
Are these interview questions helpful?

Interview Questionnaire 

2 Questions

  • Q1. Reverse linked list
  • Ans. 

    Reversing a linked list involves changing the direction of its nodes to point to the previous node instead of the next.

    • 1. Initialize three pointers: previous (prev), current (curr), and next.

    • 2. Traverse the list: while curr is not null, set next to curr.next.

    • 3. Reverse the link: curr.next = prev.

    • 4. Move prev and curr one step forward: prev = curr; curr = next.

    • 5. Repeat until curr is null; prev will be the new head of t...

  • Answered by AI
  • Q2. Invert tree
  • Ans. 

    Invert a binary tree by swapping left and right children recursively.

    • Use a recursive approach to swap left and right children.

    • Base case: If the node is null, return.

    • Example: For a tree with root 1, left 2, right 3, after inversion, left becomes 3, right becomes 2.

    • Iterative approach can also be used with a queue or stack.

  • Answered by AI

I appeared for an interview in Oct 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 minutes
Round difficulty - Medium

Test was active from 28th September 8 PM till 2 AM (29th September’20). We could attempt at any time. 
1.5 Hr Duration
Two coding questions.

  • Q1. 

    Cycle Detection in Undirected Graph Problem Statement

    You are provided with an undirected graph containing 'N' vertices and 'M' edges. The vertices are numbered from 1 to 'N'. Your objective is to determi...

  • Ans. 

    Detect cycles in an undirected graph.

    • Use Depth First Search (DFS) to detect cycles in the graph.

    • Maintain a visited array to keep track of visited vertices.

    • If a visited vertex is encountered again during DFS, a cycle exists.

    • Check for cycles in each connected component of the graph.

    • Consider edge cases like disconnected graphs and self-loops.

  • Answered by AI
  • Q2. 

    Number of Islands Problem Statement

    You are provided with a 2-dimensional matrix having N rows and M columns, containing only 1s (land) and 0s (water). Your goal is to determine the number of islands in t...

  • Ans. 

    Count the number of islands in a 2D matrix of 1s and 0s.

    • Use depth-first search (DFS) to traverse the matrix and identify connected groups of 1s.

    • Maintain a visited array to keep track of visited cells to avoid redundant traversal.

    • Increment the island count each time a new island is encountered.

    • Consider all eight possible directions for connectivity while traversing the matrix.

    • Handle edge cases such as out-of-bounds indi...

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 60 minutes
Round difficulty - Medium

Online video call round on Microsoft Teams
Interviewer was very friendly.
This round is often called Domain Discussion Round.

  • Q1. 

    Longest Repeating Substring Problem Statement

    Given a string str consisting of lowercase English alphabet letters, and an integer K, you are allowed to perform at most K operations on this string. An oper...

  • Ans. 

    Find the length of the longest substring consisting of repeating characters after performing K operations.

    • Iterate through the string and maintain a sliding window of characters.

    • Keep track of the frequency of characters in the window.

    • Update the window by changing characters to maximize the length of repeating substring.

    • Return the length of the longest repeating substring obtained.

  • Answered by AI
Round 3 - HR 

Round duration - 60 minutes
Round difficulty - Medium

One hour HR round.
Also called Core Values Interview.
The Interviewer was a senior level employee and was very friendly.

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in GurgaonEligibility criteriaAbove 6.5 GPA, CS and Allied StreamsPublicis Sapient interview preparation:Topics to prepare for the interview - DS/ALGO, Competitive Programming, OS, DBMS, SQL Queries, Computer Networks BasicsTime required to prepare for the interview - 1 monthInterview preparation tips for other job seekers

Tip 1 : Interview is more like a two-way discussion rather than a question-answer session, feel free to ask for help/hints if you're stuck. 
Tip 2 : Even if you don't know the solution to the problem just try to work out a naive solution. You can optimize it later. 
Tip 3 : Make sure to read out the interview experiences of other people who have applied for the same role/company in the past

Application resume tips for other job seekers

Tip 1: Keep it concise and to the point.
Tip 2: Don't forget to show your best achievements

Final outcome of the interviewSelected

Skills evaluated in this interview

Round 1 - Online mcq test 

(1 Question)

  • Q1. 1.count the frequency of word 2.internal implementation of 3.some question on java8 like stream api

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare according to your resume.

Infogain Interview FAQs

How many rounds are there in Infogain Java Developer interview?
Infogain interview process usually has 1-2 rounds. The most common rounds in the Infogain interview process are Technical and HR.
How to prepare for Infogain Java Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Infogain. The most common topics and skills that interviewers at Infogain expect are Java, Spring Boot, Microservices, Hibernate and Core Java.
What are the top questions asked in Infogain Java Developer interview?

Some of the top questions asked at the Infogain Java Developer interview -

  1. write a program to make a Linkedlist, you have to develop the logic for the lin...read more
  2. Write a program to find the min and max no from the ar...read more
  3. difference between the @controller vs @restcontrol...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4.3/5

based on 3 interview experiences

Difficulty level

Moderate 100%

Duration

Less than 2 weeks 100%
View more
Join Infogain Meaningful work, meaningful life
Infogain Java Developer Salary
based on 68 salaries
₹4 L/yr - ₹9.7 L/yr
6% more than the average Java Developer Salary in India
View more details

Infogain Java Developer Reviews and Ratings

based on 6 reviews

3.2/5

Rating in categories

3.2

Skill development

3.3

Work-life balance

3.0

Salary

3.2

Job security

3.2

Company culture

3.2

Promotions

3.2

Work satisfaction

Explore 6 Reviews and Ratings
Java Developer

Pune,

Bangalore / Bengaluru

+1

4-6 Yrs

Not Disclosed

Java Developer

Kochi,

Noida

+1

3-8 Yrs

Not Disclosed

Explore more jobs
Software Engineer
1.3k salaries
unlock blur

₹4 L/yr - ₹10.8 L/yr

Development Consultant
832 salaries
unlock blur

₹8.6 L/yr - ₹16 L/yr

Technical Lead
623 salaries
unlock blur

₹17.9 L/yr - ₹33 L/yr

Consultant
505 salaries
unlock blur

₹8.5 L/yr - ₹15 L/yr

Senior Consultant
363 salaries
unlock blur

₹13 L/yr - ₹23 L/yr

Explore more salaries
Compare Infogain with

DXC Technology

3.6
Compare

Sutherland Global Services

3.5
Compare

Optum Global Solutions

4.0
Compare

Virtusa Consulting Services

3.7
Compare
write
Share an Interview