Energy Exemplar
Icon Hospital,Thakurpada, Mumbra, Thane. Interview Questions and Answers
Q1. Concat two LinkedList without using any space and in O(n) time
Concatenate two LinkedList without using extra space in O(n) time
Traverse the first LinkedList and update the last node's next pointer to the head of the second LinkedList
Return the head of the first LinkedList as the concatenated LinkedList
Q2. Create basic react app with dummy data fetched from JSON API
Create a basic React app with dummy data fetched from a JSON API.
Set up a new React project using create-react-app
Create a component to fetch data from a JSON API using fetch or axios
Display the fetched data in the component
Q3. Write a MySQL query for selecting the id of second highest salary from employee table
MySQL query to select the id of second highest salary from employee table
Use ORDER BY clause to sort salaries in descending order
Use LIMIT to select the second row
Use a subquery to avoid duplicates if multiple employees have the same salary
Q4. Detect a loop in the linked list
Detect a loop in a linked list by using Floyd's Cycle Detection Algorithm
Use two pointers, slow and fast, to traverse the linked list
If there is a loop, the fast pointer will eventually meet the slow pointer
Initialize slow and fast pointers at the head of the linked list
Move slow pointer by one step and fast pointer by two steps in each iteration
If the fast pointer reaches the end of the list or meets the slow pointer, there is a loop
Q5. Find the unique element in an array
Find the unique element in an array of strings
Iterate through the array and use a hashmap to store the frequency of each element
After iterating, check the hashmap for elements with frequency 1 to find the unique element
Q6. Explain the tool you used for documentation
I primarily used Confluence for documentation.
Confluence is a web-based platform for creating and sharing documentation.
It allows for easy collaboration among team members.
I used Confluence to create user guides, API documentation, and release notes.
The tool also offers version control and commenting features for feedback.
I organized content using pages, spaces, and labels for easy navigation.
Q7. Difference between active and passive voice
Active voice is when the subject of the sentence performs the action, while passive voice is when the subject receives the action.
Active voice: The cat chased the mouse.
Passive voice: The mouse was chased by the cat.
Active voice is more direct and concise, while passive voice can be more formal or indirect.
Active voice is generally preferred in technical writing for clarity and precision.
Q8. Share experience of writing user guide
I have extensive experience writing user guides for software products, ensuring clear and concise instructions for users.
Researched product features thoroughly to accurately document usage instructions
Used screenshots and diagrams to enhance understanding of complex processes
Collaborated with product developers and testers to ensure accuracy and completeness
Incorporated user feedback to continuously improve and update user guides
Interview Process at Icon Hospital,Thakurpada, Mumbra, Thane.
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month