Filter interviews by
Trees linked list stacks queues etc
Lenskart boat and emcure was asked about it
I applied via Campus Placement and was interviewed before Jan 2023. There were 4 interview rounds.
To validate a linked list, check if it is properly connected, has no cycles, and all elements are accessible.
Check if the head node is not null
Traverse the linked list and check if each node's next pointer is valid
Check for any cycles in the linked list using Floyd's cycle-finding algorithm
Ensure that all elements in the linked list are accessible
I applied via Recruitment Consulltant and was interviewed in Feb 2022. There were 4 interview rounds.
Basic is important be str
Be through in what you know
Sharp to the point so sensible
I applied via Company Website and was interviewed before Feb 2023. There were 4 interview rounds.
Implement random() function.
Use a pseudorandom number generator algorithm to generate random numbers.
Seed the generator with a unique value to ensure different sequences of random numbers.
Consider the range of numbers required and scale the generated numbers accordingly.
Ensure the generated numbers have a uniform distribution.
Test the implementation for randomness and statistical properties.
Western Digital interview questions for popular designations
I applied via Naukri.com and was interviewed in Aug 2021. There were 5 interview rounds.
Get interview-ready with Top Western Digital Interview Questions
I applied via Workday and was interviewed before Oct 2022. There were 4 interview rounds.
Supply chain related
I applied via Smartr and was interviewed in Nov 2021. There were 6 interview rounds.
I applied via Referral and was interviewed before Jun 2021. There were 2 interview rounds.
I applied via Naukri.com and was interviewed before May 2022. There were 3 interview rounds.
I applied via Campus Placement and was interviewed in Jun 2021. There were 4 interview rounds.
4 pillars of OOPs: Abstraction, Encapsulation, Inheritance, Polymorphism.
Abstraction: Hiding implementation details and showing only necessary information.
Encapsulation: Binding data and functions together and restricting access to them.
Inheritance: Creating new classes from existing ones, inheriting properties and methods.
Polymorphism: Ability of objects to take on multiple forms or behaviors.
Implement a queue using stack
Use two stacks, one for enqueue and one for dequeue
When dequeue is called, pop all elements from enqueue stack and push to dequeue stack
Then pop from dequeue stack to get the first element added to the queue
When enqueue is called, simply push the element to enqueue stack
Top trending discussions
The duration of Western Digital interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 31 interviews
Interview experience
based on 279 reviews
Rating in categories
Staff Engineer
312
salaries
| ₹0 L/yr - ₹0 L/yr |
Principal Engineer
204
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Engineer
145
salaries
| ₹0 L/yr - ₹0 L/yr |
Test Engineer
132
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
74
salaries
| ₹0 L/yr - ₹0 L/yr |
Seagate
Micron Technology
Intel
Samsung