Upload Button Icon Add office photos

Broadcom

Compare button icon Compare button icon Compare

Filter interviews by

Broadcom C Developer Interview Questions and Answers

Updated 7 Oct 2024

9 Interview questions

A C Developer was asked 8mo ago
Q. What is a weak pointer?
Ans. 

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.

A C Developer was asked 8mo ago
Q. Have you used any Windows APIs?
Ans. 

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.

C Developer Interview Questions Asked at Other Companies

asked in UBS
Q1. String Transformation Problem Given a string (STR) of length N, y ... read more
asked in UBS
Q2. Merge K Sorted Arrays Problem Statement Given 'K' different array ... read more
asked in UBS
Q3. Sort 0 1 2 Problem Statement Given an integer array arr of size ' ... read more
asked in UBS
Q4. Find Maximum Number by At-most K Swaps Given an array of non-nega ... read more
asked in UBS
Q5. BST Node Deletion Problem Given a binary search tree (BST) and a ... read more
A C Developer was asked 8mo ago
Q. What is a union in C++?
Ans. 

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...

A C Developer was asked 8mo ago
Q. Which version of C++ do you use?
Ans. 

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

A C Developer was asked 8mo ago
Q. Explain runtime polymorphism and how it works, including vptr and vtable.
Ans. 

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...

A C Developer was asked 8mo ago
Q. You are given an integer array prices where prices[i] is the price of a given stock on the ith day. On each day, you may decide to buy and/or sell the stock. You can only hold at most one share of the stock...
Ans. 

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.

A C Developer was asked 8mo ago
Q. Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input.
Ans. 

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...

Are these interview questions helpful?
A C Developer was asked 8mo ago
Q. What is dynamic_cast where it can fail and what will happen in that case
Ans. 

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 point...

A C Developer was asked 8mo ago
Q. What are processes and threads memory is allocated to what process or threads? what is mutex and semaphore how many threads/process can you launch at a time what is meaning of core in 4-core system what is ...
Ans. 

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 ex...

Broadcom C Developer Interview Experiences

1 interview found

C Developer Interview Questions & Answers

user image Anonymous

posted on 12 Sep 2024

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.

Round 1 - Technical 

(6 Questions)

  • Q1. Merge intervals ( Leetcode)
  • Ans. 

    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]]...

  • Answered by AI
  • Q2. Buy and sell stocks II (Leetcode)
  • Ans. 

    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.

  • Answered by AI
  • Q3. Runtime polymorphism and how it works vptr and vtable
  • Ans. 

    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 ...

  • Answered by AI
  • Q4. Which version of c++ you use
  • Ans. 

    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

  • Answered by AI
  • Q5. Design patterns
  • Q6. Have you used any windows api's?
  • Ans. 

    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.

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. One debugging question was given which will test knowledge on copy constructor, copy assignment, their return type move constructor, move assignment shallow copy, deep copy runtime polymorphism pointer ini...
  • Q2. What is dynamic_cast where it can fail and what will happen in that case
  • Ans. 

    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...

  • Answered by AI
Round 3 - Technical 

(5 Questions)

  • Q1. Same debugging question while making it advance how will you handle in case there is data member of pointer to int array in deep copy how will you ensure that it does delete previous data in case new opera...
  • Q2. What is union in c++
  • Ans. 

    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...

  • Answered by AI
  • Q3. What is weak pointer
  • Ans. 

    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.

  • Answered by AI
  • Q4. What are processes and threads memory is allocated to what process or threads? what is mutex and semaphore how many threads/process can you launch at a time what is meaning of core in 4-core system what is...
  • Ans. 

    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...

  • Answered by AI
  • Q5. What is this pointer tell me situation where only this pointer can be used nothing else will work

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
2w
toobluntforu
·
works at
Cvent
Can speak English, can’t deliver in interviews
I feel like I can't speak fluently during interviews. I do know english well and use it daily to communicate, but the moment I'm in an interview, I just get stuck. since it's not my first language, I struggle to express what I actually feel. I know the answer in my head, but I just can’t deliver it properly at that moment. Please guide me
Got a question about Broadcom?
Ask anonymously on communities.

Interview questions from similar companies

Interview Questionnaire 

3 Questions

  • Q1. Tell me about yourself
  • Ans. 

    I am a dedicated and experienced team leader with a passion for motivating and guiding my team towards success.

    • Experienced in leading teams towards achieving goals

    • Skilled in motivating team members

    • Passionate about guiding and mentoring others

  • Answered by AI
  • Q2. How you will control absentism
  • Q3. What is your roles and respondsiblities
  • Ans. 

    As a Team Leader, my roles and responsibilities include overseeing team performance, providing guidance and support, and ensuring project deadlines are met.

    • Overseeing team performance and productivity

    • Providing guidance and support to team members

    • Ensuring project deadlines are met

    • Communicating with upper management to report progress and issues

    • Resolving conflicts within the team

    • Training and developing team members

  • Answered by AI

C Developer Interview Questions Asked at Other Companies

asked in UBS
Q1. String Transformation Problem Given a string (STR) of length N, y ... read more
asked in UBS
Q2. Merge K Sorted Arrays Problem Statement Given 'K' different array ... read more
asked in UBS
Q3. Sort 0 1 2 Problem Statement Given an integer array arr of size ' ... read more
asked in UBS
Q4. Find Maximum Number by At-most K Swaps Given an array of non-nega ... read more
asked in UBS
Q5. BST Node Deletion Problem Given a binary search tree (BST) and a ... read more

Interview Questionnaire 

9 Questions

  • Q1. Tree questions related like traversal?
  • Q2. Locate the sum of 2 numbers in a linear array (Unsorted and sorted) and their complexities
  • Ans. 

    Locate sum of 2 numbers in a linear array (unsorted and sorted) and their complexities

    • For unsorted array, use nested loops to compare each element with every other element until the sum is found

    • For sorted array, use two pointers approach starting from the beginning and end of the array and move them towards each other until the sum is found

    • Complexity for unsorted array is O(n^2) and for sorted array is O(n)

  • Answered by AI
  • Q3. Pointers with increment/decrement, address of and value at operators (++,–,*,&)
  • Ans. 

    Pointers are used to manipulate memory addresses and values in C++. Increment/decrement, address of and value at operators are commonly used.

    • Incrementing a pointer moves it to the next memory location of the same data type

    • Decrementing a pointer moves it to the previous memory location of the same data type

    • The address of operator (&) returns the memory address of a variable

    • The value at operator (*) returns the value sto...

  • Answered by AI
  • Q4. A point and a rectangle is present with the given coordinates. How will you determine whether the point is inside or outside the rectangle?
  • Ans. 

    To determine if a point is inside or outside a rectangle, we check if the point's coordinates fall within the rectangle's boundaries.

    • Check if the point's x-coordinate is greater than the left edge of the rectangle

    • Check if the point's x-coordinate is less than the right edge of the rectangle

    • Check if the point's y-coordinate is greater than the top edge of the rectangle

    • Check if the point's y-coordinate is less than the b...

  • Answered by AI
  • Q5. There is a point inside the rectangle. How will you determine the line that passes through the point and divides the rectangle into 2 equal halves?
  • Ans. 

    To find line that divides rectangle into 2 equal halves through a point inside it.

    • Find the center of the rectangle

    • Draw a line from the center to the given point

    • Extend the line to the opposite side of the rectangle

    • The extended line will divide the rectangle into 2 equal halves

  • Answered by AI
  • Q6. There is a scheme which contains 8-bit and 16-bit signed numbers. How many such combinations are possible?
  • Ans. 

    There are multiple combinations of 8-bit and 16-bit signed numbers. How many such combinations are possible?

    • There are 2^8 (256) possible combinations of 8-bit signed numbers.

    • There are 2^16 (65,536) possible combinations of 16-bit signed numbers.

    • To find the total number of combinations, we can add the number of combinations of 8-bit and 16-bit signed numbers.

    • Therefore, the total number of possible combinations is 256 + ...

  • Answered by AI
  • Q7. You are given an array of elements. Some/all of them are duplicates. Find them in 0(n) time and 0(1) space. Property of inputs – Number are in the range of 1..n where n is the limit of the array
  • Ans. 

    Find duplicates in an array of elements in 0(n) time and 0(1) space.

    • Use the property of inputs to your advantage

    • Iterate through the array and mark elements as negative

    • If an element is already negative, it is a duplicate

    • Return all the negative elements as duplicates

  • Answered by AI
  • Q8. Given a array of digits. print all combination of of these i.e all no formed by these. repetition allowed. and then repetition not allowed example: i/p: arr={1,2,3} o/p: (without repetition) 123, 132, 213,...
  • Ans. 

    Generate all combinations of digits from an array, allowing and disallowing repetition.

    • Use recursion or backtracking to generate combinations.

    • For repetition allowed: e.g., arr={1,2}, combinations are 11, 12, 21, 22.

    • For repetition not allowed: e.g., arr={1,2,3}, combinations are 123, 132, 213, 231, 312, 321.

    • Utilize a set to track used digits when repetition is not allowed.

  • Answered by AI
  • Q9. Questions on project

Interview Preparation Tips

Round: Test
Duration: 90 minutes
Total Questions: 3

Round: HR Interview
Experience: HR interview was all about my projects, my background and a few more typical HR questions. It was pretty easy to answer them.

Skills: Algorithm, Data structure, C++
College Name: IIT ROORKEE

Skills evaluated in this interview

I appeared for an interview before May 2016.

Interview Preparation Tips

Round: written test
Experience: it was elitmus test conducted by the company itself on campus. As per my knowledge only those scoring 90 percentile got selected for round 2.
Tips: Attempt only those ques that are necessary for scoring 90+ in e litmus. Specially in verbal don't attempt more then required questions, though you might be tempted. The aim is not to score max bt to score 90+

Round: Technical Interview
Experience: This was a programming based round. I was asked to write algorithms for various array linked list based problems. There was cross questioning prompting to reduce complexity and to use different data structures for same problems.

Mostly it focused on subjects like c, data structures and ADA.
Tips: Be clear with basic of data structures and algorithms. Pointers, queue, stacks, array linked lists, sorting etc are the keywords.

Round: Technical Interview
Experience: This was a information security specific round since that was my major. In depth cross questioning on my thesis topics, honeypots, network intrusion etc. Security certificates, and on the go problems to provide security solution layer wise in different scenarios. Security concept of torrents was also asked in detail.
Tips: It was more of a security discussion and throwing of ideas about how things in a particular case could work or could not. Don't worry about right or wrong answer just be clear with your reasoning about the solution you are suggesting.

Round: Other Interview
Experience: I don't know what to name this round, but it focused mainly on developing test cases for an object. Say they gave me a stapler and said to develop a test plan listing down test cases for a given object to pass so that it can be confirmed that it is a stapler. Another scenario was with a lift.
Tips: This is one round where your presence of mind and inter personal skills matter. I think the way you present your thoughts was most important here.

Round: Behavioural Interview
Experience: This was was mostly about how would you react in a given professional situation
Like your assigned work could not be completed on time, or if you are doing something wrong with the work assigned.
Tips: This is all about inter personal skills and putting your best foot forward :)

College Name: Indira Gandhi Delhi Technical University For Women, Delhi

I appeared for an interview in Sep 2016.

Interview Preparation Tips

Round: Test
Experience: Questions aren't tough but they take more time to read itself.
Tips: First try to attempt the questions which are seemingly small. Reading bigger questions first and wasting more time on that isnt a good idea at all.
Duration: 30 minutes
Total Questions: 30

Skills: Technical Skill, Analytical Skills
College Name: IIT Kharagpur

I applied via Campus Placement

Interview Questionnaire 

4 Questions

  • Q1. What is a program, task and threads
  • Ans. 

    A program is a set of instructions that tells a computer what to do. A task is a unit of work performed by a program. A thread is a sequence of instructions within a task.

    • A program is a collection of instructions that are executed by a computer to perform a specific task.

    • A task is a unit of work that is performed by a program. It can be a specific action or a set of actions.

    • A thread is a sequence of instructions within...

  • Answered by AI
  • Q2. Delete a node in a linked list
  • Ans. 

    To delete a node in a linked list, we need to adjust the pointers of the previous and next nodes.

    • Find the node to be deleted by traversing the linked list

    • Adjust the pointers of the previous and next nodes to skip the node to be deleted

    • Free the memory occupied by the node to be deleted

  • Answered by AI
  • Q3. What is a function pointer and volatile type in c
  • Ans. 

    A function pointer is a variable that stores the address of a function. Volatile type is used to declare variables that can be modified by external factors.

    • Function pointers are used to pass functions as arguments to other functions.

    • Volatile type is used when a variable's value can be changed unexpectedly by external factors.

    • Function pointers can be used to implement callbacks or event handling mechanisms.

    • Volatile type...

  • Answered by AI
  • Q4. Summarise your resume
  • Ans. 

    Experienced software developer with expertise in Java, Python, and SQL

    • Proficient in Java, Python, and SQL programming languages

    • Developed web applications using Java Spring framework

    • Experience with database management and optimization using SQL

    • Worked on various software projects in a team environment

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: Paper was challenging and It was well set.

Duration: 90 minutes
Total Questions: 60

Round: Technical Interview
Experience: It was a very good experience overall. Interviewer helped to ease the tension.
Tips: Waiting time can be reduced.

General Tips: Prepare for precedence of operators in C.
Try to be fast in solving the problems.
Skills: Knowledge Of Your Resume Points, Pointers In C, Operating System Basics
Duration: 2
College Name: IIT Madras
Motivation: Qualcomm is a

Skills evaluated in this interview

Interview Questionnaire 

5 Questions

  • Q1. In C programming they asked about storage classes, Volatile , Whole compilation process steps by steps, Dangling pointer , Memory leak, Memory corruption
  • Q2. In data structure they asked question on String , Linked List and array
  • Q3. Data structure question section is easy don't go for complex algorithms just study basic algorithms. like reverse the linked list in group on given size
  • Q4. They also asked question on bit manipulation. Like Check that given number binary representation is palindrome or not?
  • Q5. Swap even and odd bits in given number
  • Ans. 

    Swap even and odd bits in a given number

    • Create a mask for even bits and odd bits

    • Shift even bits to right and odd bits to left

    • Combine even and odd bits using bitwise OR operator

  • Answered by AI

Interview Preparation Tips

College Name: NA

Skills evaluated in this interview

Are these interview questions helpful?

I appeared for an interview before Apr 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 75 minutes
Round difficulty - Medium

This was an online coding round where I had 2 questions to solve under 75 minutes. Both the coding questions were of Medium to Hard level of difficulty.

  • Q1. 

    Smallest Window Problem Statement

    Given two strings, S and X, your task is to find the smallest substring in S that contains all the characters present in X.

    Example:

    Input:
    S = "abdd"
    X = "bd"
    Output:
    ...
  • Ans. 

    Find the smallest substring in S that contains all characters in X.

    • Use a sliding window approach to find the smallest substring in S that contains all characters in X.

    • Keep track of the characters in X using a hashmap.

    • Move the window by adjusting the start and end pointers until all characters in X are found.

    • Return the smallest substring encountered.

  • Answered by AI
  • Q2. 

    K - Sum Path In A Binary Tree

    Given a binary tree where each node contains an integer value, and a value 'K', your task is to find all the paths in the binary tree such that the sum of the node values in ...

  • Ans. 

    Find all paths in a binary tree where the sum of node values equals a given value 'K'.

    • Traverse the binary tree using DFS and keep track of the current path and its sum.

    • At each node, check if the current sum equals 'K' and add the path to the result.

    • Continue traversal to the left and right child nodes recursively.

    • Return the list of paths that sum up to 'K'.

  • Answered by AI
Round 2 - Video Call 

(4 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

This round had 2 questions of DS/Algo to solve under 60 minutes and 2 questions related to Operating Systems.

  • Q1. 

    Validate Partial Binary Search Tree (BST) Problem Statement

    You are provided with a binary tree containing 'N' nodes. Your task is to determine if this tree is a Partial Binary Search Tree (BST). Return t...

  • Ans. 

    Validate if a binary tree is a Partial Binary Search Tree (BST) by checking if each node's left subtree contains nodes with data less than or equal to the node's data, and each node's right subtree contains nodes with data greater than or equal to the node's data.

    • Check if each node's left subtree follows BST property (data <= node's data) and right subtree follows BST property (data >= node's data)

    • Recursively che...

  • Answered by AI
  • Q2. 

    Longest Increasing Subsequence Problem Statement

    Given an array of integers with 'N' elements, determine the length of the longest subsequence where each element is greater than the previous element. This...

  • Ans. 

    Find the length of the longest strictly increasing subsequence in an array of integers.

    • Use dynamic programming to solve this problem efficiently.

    • Initialize an array to store the length of the longest increasing subsequence ending at each index.

    • Iterate through the array and update the length of the longest increasing subsequence for each element.

    • Return the maximum value in the array as the result.

  • Answered by AI
  • Q3. Can you define process and threads in operating systems?
  • Ans. 

    Processes are instances of a program in execution, while threads are lightweight processes within a process.

    • A process is a program in execution, with its own memory space and resources.

    • Threads are lightweight processes within a process, sharing the same memory space and resources.

    • Processes are independent of each other, while threads within the same process can communicate and share data.

    • Example: A web browser running ...

  • Answered by AI
  • Q4. What are the different types of semaphores?
  • Ans. 

    Different types of semaphores include binary semaphores, counting semaphores, and mutex semaphores.

    • Binary semaphores: Can only have two states - 0 or 1. Used for mutual exclusion.

    • Counting semaphores: Can have multiple states. Used for managing resources with limited capacity.

    • Mutex semaphores: Similar to binary semaphores but with additional features like priority inheritance.

    • Named semaphores: Can be shared between proc...

  • Answered by AI
Round 3 - Video Call 

(3 Questions)

Round duration - 60 Minutes
Round difficulty - Hard

In this round, I was asked 3 coding questions out of which I had to implement the first two and for the last question I was only asked the optimal approach. The main challenge in this round was to implement the first two questions in a production ready manner without any bugs and so I had to spent some time thinking about some Edge Cases which were important with respect to the question.

  • Q1. 

    Next Greater Element Problem Statement

    You are given an array arr of length N. For each element in the array, find the next greater element (NGE) that appears to the right. If there is no such greater ele...

  • Ans. 

    The task is to find the next greater element for each element in an array to its right, if no greater element exists, return -1.

    • Use a stack to keep track of elements for which the next greater element is not found yet.

    • Iterate through the array from right to left and pop elements from the stack until a greater element is found.

    • Store the next greater element for each element in a separate array.

    • If the stack is empty afte...

  • Answered by AI
  • Q2. 

    Power Set Generation

    Given a sorted array of 'N' integers, your task is to generate the power set for this array. Each subset of this power set should be individually sorted.

    A power set of a set 'ARR' i...

  • Ans. 

    Generate power set of a sorted array of integers with individually sorted subsets.

    • Use recursion to generate all possible subsets by including or excluding each element in the array.

    • Sort each subset before adding it to the power set.

    • Handle base case when all elements have been considered to add the subset to the power set.

  • Answered by AI
  • Q3. 

    Counting Sort Problem Statement

    Ninja is learning about sorting algorithms, specifically those that do not rely on comparisons. Can you help Ninja implement the counting sort algorithm?

    Example:

    Input:
    ...
  • Ans. 

    Implement counting sort algorithm to sort an array of integers without comparisons.

    • Count the frequency of each element in the input array.

    • Create a prefix sum array to determine the position of each element in the sorted array.

    • Iterate through the input array and place each element in its correct position based on the prefix sum array.

    • Time complexity of counting sort is O(n+k), where n is the number of elements and k is ...

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPACadence Design Systems interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, OS, DBMS, Aptitude, OOPSTime required to prepare for the interview - 4 MonthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

I applied via Referral and was interviewed before Dec 2020. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Signal and power integrity question
  • Ans. Refer book by Eric bogatin
  • Answered by Saahil Naik

Interview Preparation Tips

Interview preparation tips for other job seekers - Learn about package design also
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Recruitment Consulltant and was interviewed in Aug 2022. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

Basic aptitude, c and data structures

Round 3 - Technical 

(2 Questions)

  • Q1. C and data structures
  • Q2. Operating system and puzzle

Interview Preparation Tips

Interview preparation tips for other job seekers - Be strong in basics of c and data structure.
Some basics on OS

Broadcom Interview FAQs

How many rounds are there in Broadcom C Developer interview?
Broadcom interview process usually has 3 rounds. The most common rounds in the Broadcom interview process are Technical.
What are the top questions asked in Broadcom C Developer interview?

Some of the top questions asked at the Broadcom C Developer interview -

  1. what are processes and threads memory is allocated to what process or threads? ...read more
  2. Runtime polymorphism and how it works vptr and vta...read more
  3. what is dynamic_cast where it can fail and what will happen in that c...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4/5

based on 1 interview experience

Difficulty level

Moderate 100%

Duration

Less than 2 weeks 100%
View more

Interview Questions from Similar Companies

Qualcomm Interview Questions
3.8
 • 270 Interviews
Intel Interview Questions
4.2
 • 222 Interviews
Texas Instruments Interview Questions
4.0
 • 126 Interviews
Synopsys Interview Questions
3.9
 • 94 Interviews
Molex Interview Questions
3.9
 • 58 Interviews
Tessolve Interview Questions
3.5
 • 56 Interviews
View all
Software Engineer
141 salaries
unlock blur

₹12.6 L/yr - ₹28.2 L/yr

Accountant
122 salaries
unlock blur

₹1.3 L/yr - ₹4.5 L/yr

Senior Software Engineer
117 salaries
unlock blur

₹16.8 L/yr - ₹30 L/yr

R&D Engineer
48 salaries
unlock blur

₹15.1 L/yr - ₹60.2 L/yr

Test Engineer
47 salaries
unlock blur

₹3 L/yr - ₹10.7 L/yr

Explore more salaries
Compare Broadcom with

Qualcomm

3.8
Compare

Intel

4.2
Compare

Apar Industries

4.1
Compare

Molex

3.9
Compare
write
Share an Interview