Indium Software
Urban Company Interview Questions and Answers
Q1. How to switch between Tabs in a browser using selenium
To switch between tabs in a browser using Selenium, we can use the getWindowHandles() method and switchTo() method.
Use getWindowHandles() method to get the handles of all open tabs
Store the handles in a Set
Use switchTo() method to switch to a specific tab by passing the handle as an argument
Q2. Find how many numbers are repeated from given integer array
Count the number of repeated integers in an array
Iterate through the array and use a hash table to keep track of the count of each number
Return the count of numbers with a count greater than 1
Q3. Write code to give rating in webta le given applicant name and rating as input to the method.
Code to give rating in webtable for given applicant name and rating as input.
Create a function that takes applicant name and rating as input.
Search for the applicant name in the webtable.
Update the rating for the applicant in the webtable.
Return the updated webtable.
Q4. Explain technical challenges you have come across and how did you overcome it?
I faced a technical challenge while implementing a complex algorithm for real-time data processing.
Identified the bottleneck in the algorithm by profiling the code
Optimized the algorithm by implementing data structures and algorithms with lower time complexity
Tested the optimized solution thoroughly to ensure correctness and performance
Collaborated with team members to brainstorm alternative approaches
Q5. Explain Event loop and concurrency in node.js
Event loop in Node.js manages asynchronous operations by executing callback functions when certain events occur.
Node.js uses a single-threaded event loop architecture to handle multiple concurrent operations.
Event loop continuously checks the call stack for any functions to execute, along with handling I/O operations asynchronously.
Concurrency in Node.js is achieved through non-blocking I/O operations, allowing multiple tasks to be executed simultaneously.
Example: When a file...read more
Q6. Explain the main feature of JavaScript frameworks
JavaScript frameworks provide pre-written code to simplify and speed up web development.
Helps in organizing code and improving code quality
Provides reusable components for faster development
Offers built-in features like routing, state management, and data binding
Examples: React, Angular, Vue
More about working at Indium Software
Top Senior Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month