Filter interviews by
Verilog code for D flip-flop (DFF) is a fundamental building block in digital design.
Use always block to describe the behavior of DFF
Use non-blocking assignment to update the output based on the input
Include a clock signal to trigger the update of the output
Example: always @(posedge clk) begin q <= d; end
Virtual function is a function in C++ that can be overridden in a derived class.
Virtual functions are declared in a base class and defined in a derived class.
They allow polymorphism, where a derived class object can be treated as a base class object.
The virtual keyword is used to declare a function as virtual.
Example: virtual void display() = 0; // pure virtual function
Example: virtual void display() { cout << 'Ba...
Friend class is a class that has access to the private and protected members of another class.
Friend class is declared using the 'friend' keyword.
It allows the friend class to access the private and protected members of the class it is friends with.
Friendship is not mutual, meaning the friend class does not grant access to its own private and protected members.
Friend functions can also be declared to have access t...
A destructor is a member function of a class that is responsible for destroying objects of that class.
Destructors have the same name as the class preceded by a tilde (~).
They are called automatically when an object is destroyed or goes out of scope.
They are used to release resources allocated by the object during its lifetime.
Example: ~MyClass() { delete[] myArray; }
Destructors cannot be overloaded or inherited.
A constructor is a special method that is used to initialize objects of a class.
Constructors have the same name as the class they belong to.
They are called automatically when an object of the class is created.
They can be used to set default values for object properties.
Constructors can be overloaded to accept different parameters.
Example: public class Car { public Car() { // constructor code here } }
Questions related to data structures, memory management, programming languages, and computer architecture.
Linked list is a dynamic data structure while array is a static data structure.
Union is a data type that allows storing different data types in the same memory location as opposed to array which stores elements of the same data type.
Prime numbers are numbers that are only divisible by 1 and themselves.
Memory s...
MCQs on basics of digital design, comp arch and asic flow
Verilog code for D flip-flop (DFF) is a fundamental building block in digital design.
Use always block to describe the behavior of DFF
Use non-blocking assignment to update the output based on the input
Include a clock signal to trigger the update of the output
Example: always @(posedge clk) begin q <= d; end
I applied via Naukri.com and was interviewed before May 2022. There were 2 interview rounds.
Virtual function is a function in C++ that can be overridden in a derived class.
Virtual functions are declared in a base class and defined in a derived class.
They allow polymorphism, where a derived class object can be treated as a base class object.
The virtual keyword is used to declare a function as virtual.
Example: virtual void display() = 0; // pure virtual function
Example: virtual void display() { cout << 'Base cl...
A constructor is a special method that is used to initialize objects of a class.
Constructors have the same name as the class they belong to.
They are called automatically when an object of the class is created.
They can be used to set default values for object properties.
Constructors can be overloaded to accept different parameters.
Example: public class Car { public Car() { // constructor code here } }
A destructor is a member function of a class that is responsible for destroying objects of that class.
Destructors have the same name as the class preceded by a tilde (~).
They are called automatically when an object is destroyed or goes out of scope.
They are used to release resources allocated by the object during its lifetime.
Example: ~MyClass() { delete[] myArray; }
Destructors cannot be overloaded or inherited.
Friend class is a class that has access to the private and protected members of another class.
Friend class is declared using the 'friend' keyword.
It allows the friend class to access the private and protected members of the class it is friends with.
Friendship is not mutual, meaning the friend class does not grant access to its own private and protected members.
Friend functions can also be declared to have access to pri...
I applied via LinkedIn and was interviewed before Aug 2023. There was 1 interview round.
I am a recent graduate with a degree in Business Administration and a passion for marketing and project management.
Recent graduate with a degree in Business Administration
Passionate about marketing and project management
Strong communication and organizational skills
Experience in internships and extracurricular activities
I am a dedicated and motivated individual with relevant skills and experience to excel in this role.
I have a strong academic background in [relevant field]
I have completed internships at [relevant companies] where I gained practical experience
I possess excellent communication and teamwork skills, as demonstrated by my involvement in [relevant projects or activities]
I am highly motivated and eager to learn and grow with...
I applied via Referral and was interviewed in Jul 2022. There were 2 interview rounds.
Questions related to data structures, memory management, programming languages, and computer architecture.
Linked list is a dynamic data structure while array is a static data structure.
Union is a data type that allows storing different data types in the same memory location as opposed to array which stores elements of the same data type.
Prime numbers are numbers that are only divisible by 1 and themselves.
Memory segmen...
Top trending discussions
I appeared for an interview in Feb 2025, where I was asked the following questions.
The Software Development Life Cycle (SDLC) outlines the stages of software development, ensuring systematic project management.
1. Requirements Gathering: Identify user needs through surveys or interviews. Example: Collecting requirements for a new mobile app.
2. Design: Create architecture and design specifications. Example: Developing wireframes for a web application.
3. Implementation: Write and compile code based on d...
Building chatbots for diverse users involves understanding their needs, preferences, and contexts to enhance user experience.
Identify user personas: Understand different user types (e.g., tech-savvy vs. non-tech-savvy) to tailor interactions.
Utilize natural language processing: Implement NLP to understand and respond to user queries in a conversational manner.
Incorporate user feedback: Regularly collect and analyze use...
posted on 16 Sep 2021
I appeared for an interview before Sep 2020.
Round duration - 30 minutes
Round difficulty - Easy
To search for a node in a linked list, iterate through the list and compare each node's value with the target value.
Start at the head of the linked list
Iterate through each node by following the 'next' pointer
Compare the value of each node with the target value
Return the node if found, otherwise return null
To detect a loop in a linked list, we can use Floyd's Cycle Detection Algorithm.
Initialize two pointers, slow and fast, at the head of the linked list.
Move slow pointer by one step and fast pointer by two steps.
If there is a loop, the two pointers will eventually meet.
Alternatively, we can use a hash set to store visited nodes and check for duplicates.
Implement a stack using a singly linked list
Create a Node class with data and next pointer
Create a Stack class with top pointer pointing to the top of the stack
Implement push, pop, and peek operations by manipulating the linked list
Example: Node class - Node { int data; Node next; }
Round duration - 40 minutes
Round difficulty - Easy
The top view of a binary tree shows the nodes visible from the top when looking down from the root node.
The top view of a binary tree is the set of nodes visible from the top when looking down from the root node.
Nodes at the same horizontal distance from the root are considered at the same level in the top view.
If multiple nodes are at the same horizontal distance, only the topmost node at that level is included in the...
Deleting a node from a linked list involves updating pointers to maintain the list's integrity.
Identify the node to be deleted by traversing the list
Update the previous node's next pointer to skip the node to be deleted
Free the memory allocated to the node to be deleted
Do practice a lot of questions on linked list and stacks as these are two most important data structures asked in the interview. Also, try to implement it yourself without seeing the solution. Also prepare for Computer Science subjects like Operating System, Database Management System, Computer Networks, etc. I prepared them through Coding Ninjas notes which were simpler and easy to understand.
Application resume tips for other job seekersKeep your resume short and up to mark and check spellings before submitting it for the interview process.
Final outcome of the interviewSelectedI appeared for an interview before May 2021.
Round duration - 120 Minutes
Round difficulty - Medium
Round duration - 60 Minutes
Round difficulty - Easy
Given a singly linked list with 'N' nodes containing integer values, your task is to sort the list using insertion sort and output the sorted list.
Insertion Sort is an al...
Implement insertion sort algorithm on a singly linked list with integer values.
Traverse the linked list and for each node, find its correct position in the sorted list.
Remove the node from the original list and insert it at the correct position in the sorted list.
Repeat this process until all nodes are sorted.
Ensure the implementation is in-place, without using extra space.
Handle edge cases like empty list or single no...
Your task is to implement a Stack data structure using a Singly Linked List.
Create a class named Stack
which supports the following operations, each in O(1...
Implement a Stack data structure using a Singly Linked List with operations in O(1) time.
Create a class named Stack with getSize, isEmpty, push, pop, and getTop methods.
Use a Singly Linked List to store the elements of the stack.
Ensure each operation runs in O(1) time complexity.
Handle cases where the stack is empty appropriately.
Implement the logic for each query type as specified in the input and output sections.
Given an integer N, determine and print all the prime numbers between 2 and N, inclusive.
Integer N
Prime numbers printed on separate lines
Generate and print all prime numbers between 2 and N, inclusive.
Iterate from 2 to N and check if each number is prime
Use a helper function to determine if a number is prime
Print each prime number on a new line
Round duration - 45 Minutes
Round difficulty - Medium
This round was based on oops concepts and their applications and about STLs.
Given a number N
, generate a pattern where the outer rectangle is filled with the number N
, and the inner rectangles contain decreasing numbers down to 1.
The input be...
Generate a rectangular pattern with outer rectangle filled with N and inner rectangles containing decreasing numbers.
Create a 2-D array with dimensions based on input N
Fill the outer rectangle with N and inner rectangles with decreasing numbers down to 1
Adjust the values in the inner rectangles based on the layer number
Return the generated pattern as a 2-D list/array
Round duration - 30 Minutes
Round difficulty - Easy
This around was basically to judge my communication and behavioral skills.
Tip 1 : Basics should be very clear related to DSA.
Tip 2 : Good knowledge of OS will be plus for Qualcomm
Tip 3 : One should revise the college project thoroughly before interview.
Tip 1 : Be brief while writing resume.
Tip 2 : Mention atleast 2 projects.
posted on 7 May 2017
I appeared for an interview in Feb 2017.
malloc is a function in C that dynamically allocates memory on the heap. It is used to allocate memory for variables or data structures.
malloc is used in C programming language.
It is used to allocate memory on the heap.
malloc is different from 'new' in C++ as it does not call constructors for objects.
C++ is a general-purpose programming language while Objective C is a superset of C used for iOS and macOS development.
C++ is widely used for developing applications, games, and system software.
Objective C is mainly used for iOS and macOS development.
C++ supports both procedural and object-oriented programming paradigms.
Objective C is an object-oriented language with dynamic runtime features.
C++ has a larger community a...
Class container is a class that holds objects of other classes, while class composition is a way to combine multiple classes to create a new class.
Class container holds objects of other classes, acting as a collection or container.
Class composition combines multiple classes to create a new class with its own behavior and attributes.
In class container, the objects are typically stored in a data structure like an array o...
Divide the horses into groups of 5 and race them. Take the top 2 from each race and race them again. Finally, race the top 2 horses to determine the top 3.
Divide the horses into 3 groups of 5 and race them.
Take the top 2 horses from each race and race them again.
Finally, race the top 2 horses to determine the top 3.
Developing a real-time data processing system for a high-traffic e-commerce website
Implemented a distributed system architecture to handle large volumes of data
Optimized algorithms for efficient data processing and storage
Utilized caching mechanisms to improve system performance
Worked closely with cross-functional teams to troubleshoot and resolve issues
Example: Successfully reduced data processing time by 50% by imple...
Seeking new challenges and opportunities for growth.
Looking for a more challenging role to further develop my skills
Interested in exploring new technologies and industries
Seeking better career advancement opportunities
Want to work in a more collaborative team environment
The width of a tree is the maximum number of nodes at any level in the tree.
To calculate the width of a tree, we can perform a level order traversal and keep track of the maximum number of nodes at any level.
We can use a queue data structure to perform the level order traversal.
At each level, we count the number of nodes in the queue and update the maximum width if necessary.
I appeared for an interview in Aug 2017.
based on 3 interview experiences
Difficulty level
Duration
based on 4 reviews
Rating in categories
Software Engineer
393
salaries
| ₹15.8 L/yr - ₹35 L/yr |
SOC Design Engineer
234
salaries
| ₹17.8 L/yr - ₹32 L/yr |
System Validation Engineer
205
salaries
| ₹16.4 L/yr - ₹35.5 L/yr |
Design Engineer
195
salaries
| ₹18.2 L/yr - ₹33.9 L/yr |
Software Developer
192
salaries
| ₹20.2 L/yr - ₹38.5 L/yr |
Qualcomm
Nvidia
Microsoft Corporation
Tata Electronics