char *a = "hello"; char b[] = "hello"; char *c = malloc(12); What do these do, what's the difference in where the memory is stored?
Senior Software Interview Questions
75,550 senior software interview questions shared by candidates
I completely froze on following question which could be useful in a function that reverses order of words. How would you move a chunk of memory in C++/C?
Validate lineup for a team that consists of validating 6 different requirements.
There is a Class A, which has some instance variables. One thread needs to do read and write on that variable, while another thread should not be able to access it at all. Asked me to design such a class.
How much work pressure can you withstand to deliver product on time under budget?
When validating a product what criteria do you check to see if it passes?
Hackerrank coding question: You are given 2 arrays: one representing the time people arrive at a door and other representing the direction they want to go(in or out) You have to find at what time each person will use the door provided no 2 people can use the door at the same time. Constraints: the door starts with ‘in’ position, in case of a conflict(2 or more people trying to use the door at the same time), the direction previously used holds precedence. If there is no conflict whoever comes first uses the door. Also if no one uses the door, it reverts back to the starting ‘in’ position. Should be linear time complexity. If you solve this, please comment with how much time you think you would need to solve this in an interview and your yoe.. just wondering
How do you keep hardware registers from being cached?
Non overlapping intervals from leetcode
How would you solve <blah> given x, y and z? (confidential)
Viewing 601 - 610 interview questions