Filter interviews by
I was interviewed in Mar 2024.
1. Reverse a singly linked list
2. Kadane Algorithm
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
To detect and remove a loop in a linked list, we can use Floyd's Cycle Detection Algorithm.
Use two pointers, slow and fast, to traverse the linked list
If there is a loop, the fast pointer will eventually meet the slow pointer
Once the loop is detected, reset one of the pointers to the head and move both pointers at the same pace until they meet again to find the start of the loop
VLSI design cycle is the process of creating integrated circuits by going through various stages from design to fabrication.
VLSI design cycle involves stages like specification, design, verification, synthesis, and fabrication.
It starts with defining the requirements and specifications of the integrated circuit.
Design phase includes logic design, circuit design, and physical design.
Verification ensures that the design ...
I applied via Approached by Company and was interviewed in Nov 2023. There were 3 interview rounds.
Function to dynamically allocate memory and write data to a memory location, returning the address details.
Use malloc() or calloc() to dynamically allocate memory
Use memcpy() or strcpy() to write data to the allocated memory
Return the address details where data is present
Memory management involves allocating and deallocating memory efficiently, while mapping involves associating memory addresses with physical locations.
Memory management is crucial for optimizing performance and preventing memory leaks.
Mapping involves translating virtual memory addresses to physical memory locations.
Different scenarios may require different memory management strategies, such as stack allocation vs heap...
Program to find length of bits assigned in memory using recursion.
Define a recursive function to count the bits in memory
Base case: if input is 0, return 0
Recursive case: return 1 + function(input / 2)
Volatile keyword prevents compiler optimization by telling the compiler that the variable's value can change unexpectedly.
Volatile keyword is used to indicate that a variable may be changed unexpectedly, such as in the case of hardware registers.
When initializing GPIO pins, using volatile keyword ensures that the compiler does not optimize away the initialization code.
Without volatile keyword, the compiler may optimize...
Unions in C/C++ can be used for bit assignments by allowing multiple variables to share the same memory location.
Unions allow different data types to be stored in the same memory location, which can be useful for bit manipulation.
By defining a union with multiple variables of different data types, you can access the same memory location using different variable names.
For example, you can use a union to access individua...
static const is used to declare constants that are known at compile time and cannot be modified
static const int MAX_SIZE = 100; // declaring a constant integer
static const double PI = 3.14159; // declaring a constant double
static const char* MESSAGE = "Hello, World!"; // declaring a constant string
Program to find the sum of all the digits in a number.
Iterate through each digit in the number and add them together.
Convert the number to a string to easily access each digit.
Use modulo operator to extract each digit from the number.
Handle negative numbers by taking the absolute value before processing.
Check if a linked list is circular, if not reverse it.
Create two pointers, one moving at double the speed of the other to detect a cycle
If a cycle is detected, the list is circular. If not, reverse the list by changing the pointers' directions
Architecture to process real-time data involves designing systems that can efficiently collect, process, and analyze data in real-time.
Utilize distributed systems to handle high volumes of data in real-time
Implement stream processing frameworks like Apache Kafka or Apache Flink
Use microservices architecture for scalability and flexibility
Employ in-memory databases for fast data retrieval
Ensure fault tolerance and data
Various data filtering techniques include sorting, grouping, aggregating, and applying filters based on specific criteria.
Sorting: arranging data in a specific order, such as ascending or descending
Grouping: categorizing data into distinct groups based on common attributes
Aggregating: combining multiple data points into a single value, such as summing or averaging
Filtering: selecting only the data that meets certain cr
Initialize and control GPIO using HAL functions in embedded systems.
Use HAL_GPIO_Init() function to initialize GPIO pins
Use HAL_GPIO_WritePin() function to set or clear GPIO status
Example: HAL_GPIO_Init(&GPIO_InitStruct)
Example: HAL_GPIO_WritePin(GPIOx, GPIO_PIN_x, GPIO_PIN_SET)
Traverse a linked list based on input 0 or 1 to return decimal equivalent.
Create a function that takes input 0 or 1 and traverses the linked list accordingly.
For each node in the linked list, multiply the current decimal value by 2 and add the data of the node if input is 1.
Return the final decimal value after traversing the linked list.
Qualcomm interview questions for designations
I applied via Referral and was interviewed in Nov 2023. There was 1 interview round.
A virtual function is a function in a base class that is declared using the keyword 'virtual' and can be overridden by a function in a derived class.
Virtual functions allow a derived class to provide a specific implementation of a function that is already defined in a base class.
They enable polymorphism, where a pointer to a base class can be used to call a function in a derived class.
Virtual functions are used in obje...
Android boot up sequence involves several stages including power on, bootloader, kernel initialization, and system initialization.
Power on the device
Bootloader loads the kernel
Kernel initializes the system
System initialization completes the boot up process
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Allows for code reusability by creating a new class based on an existing class
Derived class (subclass) inherits attributes and methods from a base class (superclass)
Can have multiple levels of inheritance (multi-level inheritance)
Example: Animal class can be a base class with properties like name a...
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
It enables a single interface to be used for different data types.
Examples include method overloading and method overriding in object-oriented programming.
Get interview-ready with Top Qualcomm Interview Questions
I applied via Referral and was interviewed in Sep 2023. There were 4 interview rounds.
The length of the longest common subsequence in given strings is found using dynamic programming.
Use dynamic programming to find the length of the longest common subsequence.
Compare characters of the strings and build a matrix to store the lengths of common subsequences.
Traverse the matrix to find the length of the longest common subsequence.
Write the algorithm for topological sorting.
CAP theorem states that in a distributed system, it is impossible to simultaneously guarantee consistency, availability, and partition tolerance.
Consistency: All nodes in the system have the same data at the same time.
Availability: Every request gets a response, even if some nodes are down.
Partition Tolerance: The system continues to operate despite network partitions.
In a distributed system, you can only achieve two o...
I applied via Naukri.com and was interviewed in Mar 2024. There were 2 interview rounds.
Reverse the string in place I/P : "I love my India" O/P: "I evol ym aidnI"
I applied via Approached by Company and was interviewed in Mar 2024. There was 1 interview round.
Leetcode questions followed by technical subjects
I applied via Naukri.com and was interviewed before Jun 2023. There were 2 interview rounds.
Docker is a platform for developing, shipping, and running applications using containerization.
Docker allows applications to be packaged into containers, which include all dependencies needed to run.
Containers are lightweight, portable, and isolated environments that can run on any system with Docker installed.
Docker uses a client-server architecture with a daemon process managing containers.
Docker images are used to c...
Shell script to handle different scenarios
Use conditional statements like if-else to handle different scenarios
Utilize loops for repetitive tasks
Implement error handling to address unexpected situations
Top trending discussions
3 Interview rounds
based on 111 reviews
Rating in categories
Senior Engineer
1.2k
salaries
| ₹15.8 L/yr - ₹50 L/yr |
Software Engineer
972
salaries
| ₹11 L/yr - ₹36 L/yr |
Engineer
879
salaries
| ₹11.5 L/yr - ₹30 L/yr |
Senior Software Engineer
565
salaries
| ₹16 L/yr - ₹49.1 L/yr |
Senior Leader Engineer
425
salaries
| ₹20 L/yr - ₹72 L/yr |
Nvidia
Intel
Mercedes-Benz Research and Development India
Broadcom