1. Implement a thread safe queue. 2. Given a 8 bit image / matrix and a threshold, implement a function which return an image where all numbers above threshold are 255 and below are 0 in the smallest complexity.
C Interview Questions
5,475 c interview questions shared by candidates
Fix a bug from MariaDB opensource code by installing it on your machine, setting up development env, understand the code and fix the bug. That too for a interview test only.
Focus was on arrays and dbms
4) Code given and asked that it wil cause memory leak or not?
How would I describe my leadership style.
1st round: Why do you want to join Sonar? 2nd round: How does the using statement work in C#? What is the yield keyword used for? How does the garbage collector work in .NET? 3rd round: Implement a simple parser for mathematical formulas. 4th round: How did you resolve conflicts at your previous workplace? What were the most challenging situations you had to overcome? 5th round: What are your salary expectations? When can you start?
How is std::map and std::unordered stl containers implemented internally - the underlying data structure?
What does virtual keyword means and how it internally works. Like vtable and function pointers
Draw geometric shapes in visual studio.
Q) Given Singly linked list (1->2->3->4->5->6) , convert this list to (1->6->2->5->3->4). 1st's element next is nth element, 2nd's next is n-1th element and so on. --> I gave them one solution that uses stack, but no more extra space is expected, panel was very friendly and helpful they gave me time to time hint and finally I came up with below solution. Solution: 1) Split linked list into 2 halfs 2) Reverse the 2nd half. 3) Now merge 1st and 2nd half again. Q) Internal implementation of Malloc function Q) Move all the 10s at the end of the array, in O(N) Q) Some basic questions on Hashmap, vectors, set,list Q) Some question on OOPS, virtual functions, copy constructor, why & is used in definition of Copy Const etc. PS: I just added this review to admire the panel, they were very kind & friendly, supportive, and give you hints to arrive at the solution.
Viewing 4301 - 4310 interview questions