Premium Employer

i

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

Infosys Verified Tick Work with us arrow

Compare button icon Compare button icon Compare

Filter interviews by

Infosys Golang Developer Interview Questions and Answers

Updated 13 Feb 2024

Infosys Golang Developer Interview Experiences

1 interview found

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(5 Questions)

  • Q1. What is map and how it i useful
  • Ans. 

    A map is a built-in data structure in Golang that allows you to store key-value pairs.

    • Maps are unordered collections of key-value pairs.

    • Keys in a map must be unique.

    • Maps are useful for efficient lookup and retrieval of values based on their keys.

    • You can add, update, and delete key-value pairs in a map.

    • Example: map[string]int{"apple": 5, "banana": 3}

  • Answered by AI
  • Q2. Explain about slice
  • Ans. 

    A slice is a dynamically-sized, flexible view of an underlying array in Go.

    • Slices are similar to arrays but with a variable length.

    • They are reference types and can be resized.

    • Slices can be created using the make() function or by slicing an existing array.

    • They provide a convenient way to work with collections of data.

  • Answered by AI
  • Q3. Difference between slice and array
  • Ans. 

    Arrays have fixed length, while slices are dynamic. Slices are references to arrays.

    • Arrays have a fixed length, while slices can grow or shrink dynamically.

    • Slices are references to arrays, allowing for efficient memory usage.

    • Arrays are value types, while slices are reference types.

    • Arrays are initialized with a specific size, while slices can be created from existing arrays or other slices.

    • Slices provide additional func...

  • Answered by AI
  • Q4. What are go routines
  • Ans. 

    Go routines are lightweight threads of execution that allow concurrent programming in Go.

    • Go routines are created using the 'go' keyword followed by a function call.

    • They are executed concurrently and independently of the main program.

    • Go routines communicate with each other using channels.

    • They are used to achieve concurrency and parallelism in Go programs.

  • Answered by AI
  • Q5. How channels are used
  • Ans. 

    Channels are used in Go to enable communication and synchronization between goroutines.

    • Channels are typed and can only send or receive values of that type.

    • They can be created using the built-in make() function.

    • The <- operator is used to send and receive values from channels.

    • Channels can be used to implement various synchronization patterns like blocking and non-blocking operations.

    • They are commonly used for concurrent ...

  • Answered by AI

Skills evaluated in this interview

What people are saying about Infosys

View All
yedabhai
5d
works at
Hyperpure
Are we not even safe in our own workplaces?
An Infosys employee was arrested for secretly recording women in the office washroom. Over 30 videos were found on his phone. This isn't just shocking, it's horrifying. Offices are meant to be safe, respectful spaces. 🙎 When will companies truly prioritize safety and surveillance in all corners, not just the visible ones?
FeedCard Image
Got a question about Infosys?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Internshala and was interviewed in May 2021. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. They aske qustn relateed to resume
  • Ans. 

    Discussing my resume highlights my skills, experiences, and projects relevant to the software engineering role.

    • Experience with Java and Python in developing web applications.

    • Led a team project that improved application performance by 30%.

    • Contributed to open-source projects, enhancing my coding skills and collaboration.

    • Completed an internship at XYZ Corp, where I developed a feature that increased user engagement.

  • Answered by AI
  • Q2. What made you choose this company

Interview Preparation Tips

Interview preparation tips for other job seekers - always be prepared with what you have wrote in your resume I will suggest..bcoz there is no other qustn than basics

Golang Developer Interview Questions Asked at Other Companies

asked in Capgemini
Q1. can we return difference data type and how ,what architeture you ... read more
asked in Capgemini
Q2. difference between buffered channel and unbuffered channel,error ... read more
asked in Capgemini
Q3. why we use go,advantages of golang,does any other language suppor ... read more
Q4. Does Golang support OOP concepts, and if so, how?
Q5. explain go path and go root.what is encapsulation.write a program ... read more

I appeared for an interview before Dec 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 100 Minutes
Round difficulty - Medium

  • Q1. 

    Change Start Node Problem Statement

    You are provided with a singly linked list and an integer K. The objective is to make the Kth node from the end of the linked list the starting node of the linked list.

    ...
  • Ans. 

    Given a singly linked list and an integer K, rearrange the list such that the Kth node from the end becomes the starting node.

    • Traverse the linked list to find the length and the Kth node from the end.

    • Update the pointers to rearrange the list accordingly.

    • Handle edge cases like K being equal to 1 or the length of the list.

  • Answered by AI
  • Q2. 

    Valid Parentheses Problem Statement

    Given a string 'STR' consisting solely of the characters “{”, “}”, “(”, “)”, “[” and “]”, determine if the parentheses are balanced.

    Input:

    The first line contains an...
  • Ans. 

    Check if given strings containing parentheses are balanced or not.

    • Use a stack to keep track of opening parentheses

    • Iterate through the string and push opening parentheses onto the stack

    • When a closing parentheses is encountered, pop from the stack and check if it matches the corresponding opening parentheses

    • If stack is empty at the end and all parentheses are matched, the string is balanced

  • Answered by AI
Round 2 - Coding Test 

(2 Questions)

Round duration - 120 Minutes
Round difficulty - Medium

  • Q1. 

    Alien Dictionary Problem Statement

    You are provided with a sorted dictionary (by lexical order) in an alien language. Your task is to determine the character order of the alien language from this dictiona...

  • Ans. 

    Given a sorted alien dictionary in an array of strings, determine the character order of the alien language.

    • Iterate through the dictionary to build a graph of character dependencies based on adjacent words.

    • Perform a topological sort on the graph to determine the character order.

    • Return the character array representing the order of characters in the alien language.

  • Answered by AI
  • Q2. 

    Chocolate Distribution Problem

    You are given an array/list CHOCOLATES of size 'N', where each element represents the number of chocolates in a packet. Your task is to distribute these chocolates among 'M'...

  • Ans. 

    Distribute chocolates among students to minimize the difference between the largest and smallest number of chocolates.

    • Sort the array of chocolates in ascending order.

    • Iterate through the array and find the minimum difference between the elements by considering 'M' elements at a time.

    • Return the minimum difference found as the result.

  • Answered by AI
Round 3 - Coding Test 

(2 Questions)

Round duration - 120 Minutes
Round difficulty - Medium

  • Q1. 

    Inplace Rotate Matrix 90 Degrees Anti-Clockwise

    You are provided with a square matrix of non-negative integers of size 'N x N'. The task is to rotate this matrix by 90 degrees in an anti-clockwise directi...

  • Ans. 

    Rotate a square matrix by 90 degrees anti-clockwise without using extra space.

    • Iterate through each layer of the matrix from outer to inner layers

    • Swap elements in groups of 4 to rotate them in place

    • Handle odd-sized matrices separately by adjusting the loop boundaries

  • Answered by AI
  • Q2. 

    Flip The Bits Problem Statement

    Given a binary string S of length N where initially all characters are '1', perform exactly M operations, choosing from four specific operations, and determine how many dis...

  • Ans. 

    Count the number of distinct final strings possible after performing a given number of operations on a binary string.

    • Iterate through all possible combinations of operations to determine the final string after each operation.

    • Use bitwise operations to efficiently flip the bits based on the chosen operation.

    • Keep track of distinct final strings using a set data structure.

    • Return the size of the set as the number of distinct...

  • Answered by AI
Round 4 - Coding Test 

(1 Question)

Round duration - 120 Minutes
Round difficulty - Medium

  • Q1. 

    Next Greater Element Problem Statement

    Given a list of integers of size N, your task is to determine the Next Greater Element (NGE) for every element. The Next Greater Element for an element X is the firs...

  • Ans. 

    Find the Next Greater Element for each element in a list of integers.

    • Iterate through the list of integers from right to left.

    • Use a stack to keep track of elements for which the Next Greater Element is not yet found.

    • Pop elements from the stack until a greater element is found or the stack is empty.

    • Assign the Next Greater Element as the top element of the stack or -1 if the stack is empty.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from National Institute of Technology, Manipur. I applied for the job as SDE - 1 in BengaluruEligibility criteriaAbove 7 CGPALarsen & Toubro Infotech (LTI) interview preparation:Topics to prepare for the interview - Data Structures, DBMS, OOPS, Algorithms, Dynamic ProgrammingTime required to prepare for the interview - 1 MonthInterview preparation tips for other job seekers

Tip 1 : Practice Medium level question.
Tip 2 : Do atleast 2 projects
Tip 3 : More Focus on your Communication skill

Application resume tips for other job seekers

Tip 1 : Full Command on your resume and make short atleast 1 page with normal color and font.
Tip 2 : Have mentioned some good projects on resume.

Final outcome of the interviewRejected

Skills evaluated in this interview

I appeared for an interview in Dec 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 40 minutes
Round difficulty - Easy

  • Q1. 

    Count Subsequences Problem Statement

    Given an integer array ARR of size N, your task is to find the total number of subsequences in which all elements are equal.

    Explanation:

    A subsequence of an array i...

  • Ans. 

    Count the total number of subsequences in which all elements are equal in an integer array.

    • Iterate through the array and count the frequency of each element.

    • Calculate the total number of subsequences for each element using the formula (frequency * (frequency + 1) / 2).

    • Sum up the total number of subsequences for all elements and return the result modulo 10^9 + 7.

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaNoWipro Limited interview preparation:Topics to prepare for the interview - Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic ProgrammingTime required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Tip 1 : Do practice as much as you can
Tip 2 : Coding is key to crack

Application resume tips for other job seekers

Tip 1 : It should look nice
Tip 2 : Skills should be mentioned properly

Final outcome of the interviewRejected

Skills evaluated in this interview

Interview Questionnaire 

1 Question

  • Q1. In 5 programs without effecting one by one how can you debug a particular program and how can you know tha program is calling in debug
  • Ans. 

    To debug a particular program without affecting others, use breakpoints and step through the code.

    • Set a breakpoint in the program you want to debug

    • Step through the code using a debugger to identify the issue

    • Use logging statements to track the flow of the program

    • Check the call stack to see which functions are being called

    • Use conditional breakpoints to stop the program at specific points

  • Answered by AI

Skills evaluated in this interview

I applied via Campus Placement and was interviewed before Aug 2021. There were 3 interview rounds.

Round 1 - Aptitude Test 

The first round was an aptitude test with questions ranging from basic mathematical concepts to logical/analytical questions. English was also included in the test. The difficulty was medium and I was able to solve 70-80% of the questions.

Round 2 - Coding Test 

Two coding questions were the part of the test. I was supposed to solve and pass all the test cases for both the questions. The coding questions tested my knowledge in the field of arrays, loops and pointers. I was able to solve one and partially solve another.

Round 3 - Technical 

(1 Question)

  • Q1. The interview was a mixture of both HR as well as Technical. I was asked decent questions and tested my knowledge in the fundamentals of programming.

Interview Preparation Tips

Topics to prepare for LTIMindtree Software Engineer interview:
  • Python
  • Java
  • Full Stack
Interview preparation tips for other job seekers - Make sure that you are good in the fundamentals of Programming(if you are looking for an IT job) or just be good at a particular thing which perfectly suites your current necessities and also helps your career to grow in the future. Do not be disheartened if things do not go your way, there is always hope and a lot of companies would like to hire an intelligent candidate like you.
Cheers :)

I applied via Campus Placement and was interviewed before Sep 2021. There were 4 interview rounds.

Round 1 - Aptitude Test 

Prepare normal for aptitude - maths, quant, analytic

Round 2 - Group Discussion 

My GD topic was Is internet good for students or not

Round 3 - Coding Test 

I didn't attempt this as I was noob back in third year Engg

Round 4 - HR 

(1 Question)

  • Q1. Basic questions can you relocate, tell me about ur GD and composition

Interview Preparation Tips

Interview preparation tips for other job seekers - Easy peasy give ur best. Prepare well. Hope u get the job. Phir tho google ka hi dream rhe gaya he mera.
Are these interview questions helpful?

I applied via Campus Placement and was interviewed before Sep 2021. There were 3 interview rounds.

Round 1 - Aptitude Test 

It was from college placement, basic question such as relative velocity, ratio and proportion, unitary method and 2 programmin question

Round 2 - Group Discussion 

Don't remember it was 2 years ago

Round 3 - One-on-one 

(6 Questions)

  • Q1. Tell me about yourself.
  • Q2. Brief description of myself and then the minor and major projects I worked upon.
  • Q3. Pattern question in any language
  • Q4. Provided the answer in python language
  • Q5. Basics of DAA, Os, DBMS
  • Q6. Don't remember the exact questions but answers were 3 out 5 correct and program was also correct

Interview Preparation Tips

Topics to prepare for LTIMindtree Software Developer interview:
  • Daa
  • DBMS
  • Operating Systems
  • Computer Networking
Interview preparation tips for other job seekers - Since it was college placement job most questions was from basics of what you study in CS

I applied via Campus Placement and was interviewed in Nov 2020. There were 6 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. What are oops concept
  • Ans. 

    OOPs concepts are the fundamental principles of object-oriented programming.

    • Encapsulation - binding data and functions that manipulate the data

    • Inheritance - creating new classes from existing ones

    • Polymorphism - ability of objects to take on many forms

    • Abstraction - hiding implementation details and showing only functionality

  • Answered by AI
  • Q2. What is storage classes in c
  • Ans. 

    Storage classes in C define the scope and lifetime of variables.

    • There are four storage classes in C: auto, register, static, and extern.

    • Auto variables are local to a block and have automatic storage duration.

    • Register variables are stored in CPU registers for faster access.

    • Static variables have a lifetime throughout the program and are initialized only once.

    • Extern variables are declared outside any function and can be a...

  • Answered by AI
  • Q3. Describe about your final year project and internship

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confidence,and positive and answer your question confidently.

Skills evaluated in this interview

I applied via Campus Placement and was interviewed in Oct 2021. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Tell me about yourself

Interview Preparation Tips

Interview preparation tips for other job seekers - Explore your self , add studies,hobbies,short term and long term goals.keep it short and simple.

Infosys Interview FAQs

How many rounds are there in Infosys Golang Developer interview?
Infosys interview process usually has 1 rounds. The most common rounds in the Infosys interview process are Technical.
How to prepare for Infosys Golang 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 Infosys. The most common topics and skills that interviewers at Infosys expect are Performance Engineering, SDLC, HTML, Golang and Java.
What are the top questions asked in Infosys Golang Developer interview?

Some of the top questions asked at the Infosys Golang Developer interview -

  1. what is map and how it i use...read more
  2. how channels are u...read more
  3. difference between slice and ar...read more

Tell us how to improve this page.

Overall Interview Experience Rating

3/5

based on 1 interview experience

Join Infosys Creating the next opportunity for people, businesses & communities
Infosys Golang Developer Salary
based on 7 salaries
₹3.8 L/yr - ₹13.5 L/yr
10% more than the average Golang Developer Salary in India
View more details
Technology Analyst
54.7k salaries
unlock blur

₹4.8 L/yr - ₹10 L/yr

Senior Systems Engineer
53.8k salaries
unlock blur

₹2.5 L/yr - ₹6.3 L/yr

Technical Lead
35.1k salaries
unlock blur

₹9.4 L/yr - ₹16.4 L/yr

System Engineer
32.5k salaries
unlock blur

₹2.4 L/yr - ₹5.5 L/yr

Senior Associate Consultant
31.2k salaries
unlock blur

₹8.2 L/yr - ₹15 L/yr

Explore more salaries
Compare Infosys with

TCS

3.6
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare

Accenture

3.7
Compare
write
Share an Interview