Filter interviews by
I applied via Company Website and was interviewed in Jan 2023. There were 2 interview rounds.
Questions related to Go programming language concepts and design patterns.
Pointer is a variable that stores the memory address of another variable, while slice is a reference to an underlying array.
Arrays have a fixed size, while slices are dynamic and can grow or shrink.
Maps are key-value pairs, used to store and retrieve data based on a unique key.
Bridge pattern is used to separate an abstraction from its implementat...
Pointers are variables that store the memory address of another variable. Channels are used for communication between goroutines.
Pointers allow direct access to memory, making it possible to modify values at a specific address.
Channels are used to pass data between goroutines, allowing for synchronization and communication.
Pointers can be used to pass large data structures to functions without copying the entire struct...
Goroutines are lightweight threads of execution in Go that allow concurrent programming.
Goroutines are created using the 'go' keyword followed by a function call.
They are executed concurrently with other goroutines and can communicate using channels.
Switch statements can be used to control the flow of execution between multiple goroutines.
Example: go func() { fmt.Println('Hello, world!') }()
Example: select { case msg :
Explanation of Go path and Go root, and encapsulation with a program example.
Go path is an environment variable that specifies the location of Go source code and binaries.
Go root is the location where Go is installed on the system.
Encapsulation is the process of hiding implementation details and exposing only necessary information.
Example of encapsulation in Go can be creating a struct with private fields and public me
Top trending discussions
I am a highly skilled System Engineer with expertise in designing and implementing complex systems.
Experienced in managing and troubleshooting network infrastructure
Proficient in virtualization technologies such as VMware and Hyper-V
Strong knowledge of operating systems like Windows and Linux
Familiar with scripting languages like PowerShell and Bash
Excellent problem-solving and communication skills
Yes, I have experience working in teams.
I have worked on several group projects during my studies.
I have collaborated with colleagues to solve complex technical problems.
I have participated in cross-functional teams to implement system upgrades.
I have also been part of agile development teams, working closely with software engineers and testers.
One example of teamwork is when I led a team of engineers to successfully d
Yes, I know C language. Here's a program to print numbers from 1 to 10 excluding 5.
Use a loop to iterate from 1 to 10
Inside the loop, check if the current number is equal to 5
If it is not equal to 5, print the number
The question was about finding the average of a set of numbers.
I approached the problem by first summing all the numbers in the set.
Then, I divided the sum by the total number of elements in the set to find the average.
I used a loop to iterate through the set and keep track of the sum and count of elements.
Print the level order traversal of binary tree in spiral form
Perform level order traversal of the binary tree
Alternate the direction of traversal for each level
Use a stack to reverse the order of nodes in each level
Print the nodes in the order of traversal
Find the maximum element in each subarray of size k in a given array.
Iterate through the array from index 0 to n-k.
For each subarray of size k, find the maximum element.
Store the maximum elements in a separate array.
Return the array of maximum elements.
To find the Kth largest element in two sorted arrays, we can use the merge step of merge sort algorithm.
Merge the two arrays into a single sorted array using a modified merge sort algorithm.
Return the Kth element from the merged array.
Merge two sorted arrays into one sorted array with expected time complexity of (m+n).
Use a two-pointer approach to compare elements from both arrays and merge them into the first array.
Start comparing elements from the end of both arrays and place the larger element at the end of the first array.
Continue this process until all elements from the second array are merged into the first array.
Interview experience
TCS
Accenture
Wipro
Cognizant