Cisco
Aakraya Research Interview Questions and Answers
Q1. What is difference between mutex semaphore?
Mutex is a locking mechanism to ensure exclusive access to a shared resource, while semaphore is a signaling mechanism to control access to a shared resource.
Mutex allows only one thread to access the shared resource at a time, while semaphore can allow multiple threads to access the shared resource simultaneously.
Mutex is binary, meaning it has only two states - locked and unlocked, while semaphore can have multiple states depending on the number of threads allowed to access...read more
Q2. Find max number in the linked list using stack.
To find max number in linked list using stack.
Create an empty stack.
Traverse the linked list and push each element onto the stack.
Pop elements from the stack and compare with max value.
Return the max value.
Q3. Reverse linked list using the recursion
Reverse a linked list using recursion
Create a recursive function that takes the head of the linked list as input
Base case: if the head is null or the next node is null, return the head
Recursively call the function with the next node as input
Set the next node's next pointer to the current node
Set the current node's next pointer to null
Return the new head of the reversed linked list
Q4. Reverse linked list using recursion
Reverse a linked list using recursion
Create a recursive function that takes the head of the linked list as input
Base case: if the head is null or the next node is null, return the head
Recursively call the function with the next node as input
Set the next node's next pointer to the current node
Set the current node's next pointer to null
Return the new head of the reversed linked list
Q5. Make Kanbon board in react live coding
Create a Kanban board in React during live coding interview
Use React components to represent different sections of the Kanban board (e.g. To Do, In Progress, Done)
Implement drag and drop functionality for moving tasks between sections
Utilize state management (e.g. useState) to track the tasks and their statuses
Style the board using CSS or a UI library like Material-UI
Q6. Write unit testing for the same
Unit testing is a software testing method where individual units or components of a software are tested in isolation.
Identify the unit to be tested
Write test cases to cover different scenarios
Use testing frameworks like JUnit or NUnit
Mock external dependencies for isolated testing
Q7. One linked list Problem
Reverse a linked list
Iterate through the linked list and reverse the pointers
Use three pointers to keep track of current, previous, and next nodes
Update the pointers accordingly to reverse the list
Q8. explain 23 to 3G handover
23 to 3G handover is a process where a mobile device switches from a 2G network to a 3G network for better data speeds and coverage.
Handover process involves the mobile device connecting to a new network while maintaining the ongoing call or data session.
The switch from 2G to 3G network is triggered based on factors like signal strength, network congestion, and data speed requirements.
During handover, the mobile device communicates with both the 2G and 3G networks to ensure a...read more
Q9. explain 3G call flow
3G call flow involves multiple steps including network registration, call setup, and data transfer.
User equipment (UE) registers with the network by sending a Location Update Request.
Network authenticates the UE and assigns it a temporary identity.
UE initiates a call by sending a Setup Request to the network, which then establishes a connection with the called party.
Data transfer occurs between the two parties over the established connection.
Call is terminated with a Release ...read more
Interview Process at Aakraya Research
Top Senior Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month