Filter interviews by
Explore various methods to find the greatest of three numbers, including comparisons and built-in functions.
Using conditional statements: Compare each number using if-else statements.
Using built-in functions: Utilize max() function in Python to find the greatest.
Using arrays: Store numbers in an array and iterate to find the maximum.
Using sorting: Sort the numbers and select the last element as the greatest.
SDLC stands for Software Development Life Cycle, which is a process used by software development teams to design, develop, and test high-quality software.
1. Planning: Define the scope, requirements, and objectives of the project.
2. Analysis: Gather and analyze user requirements.
3. Design: Create a detailed design plan for the software.
4. Implementation: Develop the software based on the design plan.
5. Testing: Tes...
Count frequency of elements in array of strings
Iterate through the array and use a hashmap to store the frequency of each element
Use a for loop to go through each element and update the count in the hashmap
Return the hashmap with element frequencies
Design a scalable system for managing user profiles with efficient data retrieval and storage.
Use a microservices architecture to separate user profile management from other services.
Implement a NoSQL database like MongoDB for flexible schema and scalability.
Utilize caching mechanisms like Redis to speed up frequent data retrieval.
Incorporate RESTful APIs for easy integration with front-end applications.
Consider u...
Weak pointer is a type of smart pointer in C++ that does not control the lifetime of the object it points to.
Weak pointers are used to break circular references in shared pointers.
They do not increase the reference count of the object.
They are used in scenarios where the object may be deleted while there are still weak pointers pointing to it.
Yes, I have used Windows API's extensively in my previous projects.
I have used Windows API's for tasks such as creating windows, handling messages, and interacting with system resources.
Examples include using functions like CreateWindow, SendMessage, and ReadFile.
I have also worked with specific Windows API's like Winsock for networking and WinINet for internet-related tasks.
Union in C++ is a data structure that allows storing different data types in the same memory location.
Unions are similar to structures but all members share the same memory location.
Only one member of a union can be accessed at a time.
Unions are useful when you need to store different data types in the same memory space.
Example: union MyUnion { int i; float f; };
Example: MyUnion u; u.i = 10; // Accessing integer m...
I primarily use C++17, but I am familiar with earlier versions as well.
I am comfortable working with features introduced in C++17 such as structured bindings and constexpr if
I have experience with earlier versions like C++11 and C++14
I stay updated with the latest features and improvements in C++ standards
Runtime polymorphism in C++ is achieved through virtual functions, vptr (virtual pointer), and vtable (virtual table).
Runtime polymorphism allows objects of different classes to be treated as objects of a common superclass.
Virtual functions are declared in a base class and overridden in derived classes to achieve polymorphism.
vptr is a pointer that points to the vtable of an object, allowing dynamic binding of vir...
Maximize profit by buying and selling stocks multiple times with given prices.
You can buy and sell stocks multiple times.
Profit is made by buying before selling.
Example: Prices = [7, 1, 5, 3, 6, 4] -> Buy at 1, sell at 5, profit = 4.
You can also buy at 3 and sell at 6 for additional profit.
Total profit = 4 + 3 = 7.
I applied via Referral and was interviewed in Jun 2022. There was 1 interview round.
Compression ratio can be tweaked by adjusting the volume of the combustion chamber. This affects fuel efficiency and power output.
Compression ratio is the ratio of the volume of the combustion chamber at its largest to its smallest.
Increasing compression ratio can improve fuel efficiency and power output, but too high a ratio can cause engine knocking.
Factors that impact compression ratio include the size and shape of ...
I have observed hold and setup violations in my design and took necessary actions.
I used static timing analysis (STA) to identify hold and setup violations.
I fixed hold violations by adding delay cells or increasing clock period.
I fixed setup violations by reducing delay or decreasing clock period.
I also checked for false paths and multi-cycle paths.
I re-ran STA after fixing violations to ensure timing closure.
I docume...
Explanation of purpose of occ controllers, scan enable signals, lock up latch and arrangement of negative and positive edge triggered flops.
The purpose of occ controllers is to manage the clock signals in a design and ensure proper timing.
Scan enable signals are used for testing and debugging purposes.
Pipelined signals are used for faster data transfer while non-pipelined signals are used for simpler designs.
Lock up la...
Resetting a tap controller without trst signals and finding coverage gaps.
For resetting a tap controller without trst signals, we can use a power-on reset circuit or a watchdog timer.
To find coverage gaps, we can use code coverage analysis tools like CodeSonar, Coverity, or LDRA.
We can also use dynamic analysis tools like Valgrind or Purify to find runtime errors and coverage gaps.
Manual testing and peer code reviews c...
I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.
Merge overlapping intervals in a list to create a consolidated list of intervals.
Sort the intervals by their start times.
Iterate through the sorted intervals and compare the current interval with the last merged interval.
If they overlap, merge them by updating the end time of the last merged interval.
If they don't overlap, add the current interval to the merged list.
Example: Given intervals [[1,3],[2,6],[8,10],[15,18]]...
Maximize profit by buying and selling stocks multiple times with given prices.
You can buy and sell stocks multiple times.
Profit is made by buying before selling.
Example: Prices = [7, 1, 5, 3, 6, 4] -> Buy at 1, sell at 5, profit = 4.
You can also buy at 3 and sell at 6 for additional profit.
Total profit = 4 + 3 = 7.
Runtime polymorphism in C++ is achieved through virtual functions, vptr (virtual pointer), and vtable (virtual table).
Runtime polymorphism allows objects of different classes to be treated as objects of a common superclass.
Virtual functions are declared in a base class and overridden in derived classes to achieve polymorphism.
vptr is a pointer that points to the vtable of an object, allowing dynamic binding of virtual ...
I primarily use C++17, but I am familiar with earlier versions as well.
I am comfortable working with features introduced in C++17 such as structured bindings and constexpr if
I have experience with earlier versions like C++11 and C++14
I stay updated with the latest features and improvements in C++ standards
Yes, I have used Windows API's extensively in my previous projects.
I have used Windows API's for tasks such as creating windows, handling messages, and interacting with system resources.
Examples include using functions like CreateWindow, SendMessage, and ReadFile.
I have also worked with specific Windows API's like Winsock for networking and WinINet for internet-related tasks.
dynamic_cast is a C++ operator used for safe downcasting of pointers and references in polymorphic classes.
dynamic_cast is used to safely downcast a pointer or reference from a base class to a derived class.
It can fail if the object being casted is not of the target type, in which case it returns a null pointer for pointers or throws a std::bad_cast exception for references.
Dynamic_cast can only be used with pointers o...
Union in C++ is a data structure that allows storing different data types in the same memory location.
Unions are similar to structures but all members share the same memory location.
Only one member of a union can be accessed at a time.
Unions are useful when you need to store different data types in the same memory space.
Example: union MyUnion { int i; float f; };
Example: MyUnion u; u.i = 10; // Accessing integer member...
Weak pointer is a type of smart pointer in C++ that does not control the lifetime of the object it points to.
Weak pointers are used to break circular references in shared pointers.
They do not increase the reference count of the object.
They are used in scenarios where the object may be deleted while there are still weak pointers pointing to it.
Processes and threads are units of execution in a computer system. Memory is allocated to processes. Mutex and semaphore are synchronization mechanisms. Core refers to a processing unit in a multi-core system. Context switching is the process of switching between different processes or threads.
Processes are independent units of execution with their own memory space and resources.
Threads are lightweight units of executi...
I appeared for an interview in Jul 2024.
Transformer rating depends on the type of transformer, such as power rating, voltage rating, and current rating.
Transformer rating includes power rating, voltage rating, and current rating
Power rating is the maximum power that the transformer can handle
Voltage rating is the maximum voltage that the transformer can handle
Current rating is the maximum current that the transformer can handle
I applied via LinkedIn and was interviewed in Apr 2024. There were 3 interview rounds.
Design a scalable system for managing user profiles with efficient data retrieval and storage.
Use a microservices architecture to separate user profile management from other services.
Implement a NoSQL database like MongoDB for flexible schema and scalability.
Utilize caching mechanisms like Redis to speed up frequent data retrieval.
Incorporate RESTful APIs for easy integration with front-end applications.
Consider using ...
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
SDLC stands for Software Development Life Cycle, which is a process used by software development teams to design, develop, and test high-quality software.
1. Planning: Define the scope, requirements, and objectives of the project.
2. Analysis: Gather and analyze user requirements.
3. Design: Create a detailed design plan for the software.
4. Implementation: Develop the software based on the design plan.
5. Testing: Test the...
Regression testing is retesting of software to ensure new changes do not negatively impact existing functionality.
Regression testing is performed to verify that recent code changes have not adversely affected existing features.
It involves running previously executed test cases to ensure that no new bugs have been introduced.
Example: After adding a new feature to a website, regression testing is done to make sure all ex...
I appeared for an interview in Mar 2024.
Leetcode easy problem based on binary search
Design a system to notify users about stock availability and changes.
Create a database to store stock information and user preferences.
Implement a notification system to alert users when stock levels change.
Allow users to set preferences for specific products or thresholds.
Consider using push notifications, emails, or SMS for notifications.
Include a user interface for managing preferences and viewing stock information.
Design a Snake & Ladder game using arrays and logic.
Create a 10x10 grid representing the game board.
Assign positions for snakes and ladders on the board.
Use arrays to store the positions of players and their movements.
Implement logic for dice roll and player movement.
Include win condition when a player reaches the final position.
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
I applied via Referral and was interviewed in May 2024. There was 1 interview round.
Determining the level of water between buildings based on various factors
Consider the elevation of each building
Take into account the distance between the buildings
Factor in any natural or man-made barriers that may affect water flow
Top trending discussions
Some of the top questions asked at the Broadcom interview -
The duration of Broadcom interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 30 interview experiences
Difficulty level
Duration
based on 378 reviews
Rating in categories
Software Engineer
142
salaries
| ₹12.9 L/yr - ₹27.8 L/yr |
Accountant
125
salaries
| ₹0.5 L/yr - ₹6 L/yr |
Senior Software Engineer
118
salaries
| ₹9.5 L/yr - ₹35.4 L/yr |
R&D Engineer
48
salaries
| ₹15.1 L/yr - ₹60.2 L/yr |
Test Engineer
47
salaries
| ₹3 L/yr - ₹10.7 L/yr |
Qualcomm
Intel
Apar Industries
Molex