i
Hitachi Digital Services
Filter interviews by
I applied via Approached by Company and was interviewed in Sep 2023. There was 1 interview round.
The output is calculated using a mathematical formula based on the input number.
The formula to calculate the output is: output = (input^2) + (input * 2)
For example, for input 3: output = (3^2) + (3 * 2) = 9 + 6 = 15
For example, for input 4: output = (4^2) + (4 * 2) = 16 + 8 = 24
Goroutine is a lightweight thread of execution that allows concurrent programming in Go.
Goroutines are functions or methods that run concurrently with other goroutines.
They are managed by the Go runtime and have their own stack space.
Goroutines are more efficient than traditional threads and can be created easily using the 'go' keyword.
They communicate with each other using channels, which are built-in data structures ...
A program in Go that demonstrates the use of goroutines, channels, and a wait group.
Create a goroutine that performs a task concurrently.
Use channels to communicate between goroutines.
Use a wait group to synchronize the completion of goroutines.
Example: Calculate the sum of numbers using multiple goroutines and a channel.
time.Ticker is an alternative for time.Sleep() to create a repeating timer.
Use time.Ticker to create a ticker that ticks at regular intervals.
Use the ticker's C channel to receive the ticks.
Stop the ticker when done using the Stop() method.
Top trending discussions
I applied via Naukri.com and was interviewed in Nov 2023. There were 2 interview rounds.
Slice is a dynamically-sized, flexible view of elements in an array. Concurrency is the ability to run multiple tasks at the same time, while parallelism is the actual execution of multiple tasks simultaneously.
Slice in Go is a reference to a portion of an array. It allows for dynamic resizing and manipulation of elements.
Example: var s []int = make([]int, 5) // creates a slice of length 5
Interfaces in Go define a set ...
Coding questions on slice and go routines
I applied via LinkedIn and was interviewed in Sep 2023. There were 4 interview rounds.
First round was aptitude test of 60 MCQs on Java , core Java in mettl platform.
Second round was coding round
one easy and one medium leetcode question.
I applied via Naukri.com
I applied via Naukri.com and was interviewed in Oct 2024. There were 3 interview rounds.
Online zoom coding test will be there - 4 questions - 2 about output of code & 2 about technical questions.
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Virtual polymorphism is achieved through virtual functions in C++.
Virtual functions allow a function in a base class to be overridden in a derived class.
Example: Animal class with virtual function 'makeSound' overridden in Dog a
Virtual polymorphism allows objects of different classes to be treated as objects of a common superclass.
Create a base class with virtual functions
Create derived classes that override the virtual functions
Use pointers or references of the base class to call the overridden functions
posted on 18 Sep 2024
I applied via Shine and was interviewed in Aug 2024. There were 2 interview rounds.
Normal coding round with simple oa complexity
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Consumers read data from topics, while producers write data to topics in Kafka.
Consumers subscribe to topics to read messages from them
Producers publish messages to topics for consumers to read
Consumers can be part of a consumer group to scale out consumption
Producers can specify key for messages to control partitioning
I applied via Job Portal and was interviewed in Jul 2024. There was 1 interview round.
I applied via Approached by Company and was interviewed in Jul 2024. There were 5 interview rounds.
Asked some basic level questions
Asked little bit hard questions
Asked depth questions and wrote some sample programs
Senior Consultant
631
salaries
| ₹10.1 L/yr - ₹34 L/yr |
Senior Consultant 2
220
salaries
| ₹16 L/yr - ₹48 L/yr |
Consultant
143
salaries
| ₹5.8 L/yr - ₹21 L/yr |
Technical Consultant
120
salaries
| ₹5.2 L/yr - ₹19.5 L/yr |
Senior Software Engineer
116
salaries
| ₹11 L/yr - ₹36.6 L/yr |
Dell
Hewlett Packard Enterprise
IBM
Cisco