Gemini Solutions
Aeidan Industries Interview Questions and Answers
Q1. Puzzle to tell which bulb is connected to which switch in a closed room
Turn on one switch for a few minutes, turn it off, then turn on another switch. Enter the room and touch the bulbs to determine which is warm and which is cold.
Turn on switch 1 and leave it on for a few minutes
Turn off switch 1 and turn on switch 2
Enter the room and touch the bulbs
The bulb that is warm is connected to switch 1, the bulb that is cold is connected to switch 2
Q2. Rotate teice a linked list?
Rotate a linked list twice to the right.
Traverse the linked list to find the length and the last node.
Connect the last node to the head to form a circular linked list.
Traverse the linked list again to find the new last node and break the circular link.
Connect the new last node to the head to complete the rotation.
Q3. Working of a hashmap
Hashmap is a data structure that stores key-value pairs and provides constant time complexity for insertion, deletion and retrieval.
Hashmap uses hashing function to map keys to their corresponding values in an array
Collisions can occur when two keys map to the same index, which can be resolved using techniques like chaining or open addressing
Hashmap has O(1) time complexity for insertion, deletion and retrieval operations
Java example: HashMap
map = new HashMap<>(); map.put("k...read more
Q4. What is a Understand a codingquestionsfor the same
Understanding a coding question involves analyzing the problem, identifying the requirements, and devising a solution using programming concepts.
Read the problem statement carefully to understand the input, output, and constraints.
Identify the key requirements and constraints of the problem.
Break down the problem into smaller subproblems if necessary.
Choose appropriate data structures and algorithms to solve the problem efficiently.
Write clean and readable code to implement t...read more
Q5. Reverse a linked list
Reverse a linked list
Iterate through the linked list and change the direction of the pointers
Use three pointers to keep track of the current, previous and next nodes
Handle the edge cases of empty list and single node list
Q6. Parallel foreach loop dynamic Qury for fetching top 10 employees in c# lambd IQuariable and IEnumerable diff Session management
Questions on parallel foreach loop, dynamic queries, IQueryable vs IEnumerable, and session management.
Parallel foreach loop allows for concurrent execution of a loop.
Dynamic queries allow for building queries at runtime.
IQueryable allows for deferred execution of queries and optimization.
IEnumerable is a simpler interface for iterating over collections.
Session management involves tracking user sessions and storing session data.
Example of fetching top 10 employees using lambd...read more
Q7. What is a cnn? How does it work?
CNN stands for Convolutional Neural Network, a type of deep learning algorithm commonly used for image recognition.
CNNs are designed to automatically and adaptively learn spatial hierarchies of features from data.
They consist of multiple layers of neurons that process portions of the input image, learning to recognize patterns.
CNNs use convolutional layers, pooling layers, and fully connected layers to extract features and make predictions.
Example: CNNs are used in facial rec...read more
Top HR Questions asked in Aeidan Industries
Interview Process at Aeidan Industries
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month