Nokia
Dlecta Foods Interview Questions and Answers
Q1. 1) single linked list problem 2) substring matching
The first question is about a single linked list problem, and the second question is about substring matching.
For the single linked list problem, you may need to implement operations like insertion, deletion, and traversal.
For substring matching, you can use algorithms like brute force, Knuth-Morris-Pratt, or Boyer-Moore.
Examples for the single linked list problem: reversing a linked list, finding the middle element, or detecting a loop.
Examples for substring matching: findin...read more
Q2. Which works when? Refer alexxu system design book
The question is about understanding the timing and order of operations in a system.
Understanding the sequence of events in a system is crucial for ensuring proper functionality.
Timing considerations include when data is processed, when actions are triggered, and when resources are allocated.
Examples include knowing when to update a database record after receiving user input, or when to send a notification after a certain event occurs.
Q3. What is doing shared_ptr in C++?
shared_ptr is a smart pointer in C++ that manages the memory of a dynamically allocated object.
shared_ptr helps in managing memory by automatically releasing the memory when the last reference to the object is destroyed.
It allows multiple shared_ptr instances to share ownership of the same dynamically allocated object.
shared_ptr uses reference counting to keep track of the number of shared_ptr instances pointing to the object.
Example: std::shared_ptr
ptr = std::make_shared (10...read more
Q4. Write a sample code using AngularJS
Sample code using AngularJS
Create a module and controller
Bind data to HTML using directives
Use services for data retrieval and manipulation
Implement two-way data binding
Example: https://codepen.io/mohit-kumar/pen/ExjJzjM
Q5. Evaluate pull vs push based system.
Pull vs push based system refers to how data is transferred between components in a system.
Pull system involves the receiver requesting data from the sender when needed.
Push system involves the sender actively pushing data to the receiver without the receiver requesting it.
Pull systems are more efficient when the receiver does not need data constantly.
Push systems are more efficient when real-time data updates are required.
Examples: Pull - HTTP polling, Push - WebSockets.
Q6. Single Linked list problem
The question is about solving a problem related to single linked lists.
Understand the concept of a single linked list
Implement basic operations like insertion, deletion, and traversal
Consider edge cases like an empty list or a list with only one node
More about working at Nokia
Interview Process at Dlecta Foods
Top Software Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month