C++ advanced topics, r-value reference, pimpl idiom, smart pointers, koenig lookup, bits of boost library, bits of STL datastructures, OS basics, some leetcode easy algorithm problem, 1 medium leetcode algorithm, 1 leetcode hard.
Software Engineer C Interview Questions
665,667 software engineer c interview questions shared by candidates
Given a series of strings, find the biggest common prefix.
Return the coins combination with the minimum number of coins.Time complexity O(MN), where M is the target value and N is the number of distinct coins. Space complexity O(M).
Given a set of numbers in an array which represent number of consecutive days of AirBnB reservation requested, as a host, pick the sequence which maximizes the number of days of occupancy, at the same time, leaving atleast 1 day gap in between bookings for cleaning. Problem reduces to finding max-sum of non-consecutive array elements. // [5, 1, 1, 5] => 10 The above array would represent an example booking period as follows - // Dec 1 - 5 // Dec 5 - 6 // Dec 6 - 7 // Dec 7 - 12 The answer would be to pick dec 1-5 (5 days) and then pick dec 7-12 for a total of 10 days of occupancy, at the same time, leaving atleast 1 day gap for cleaning between reservations. Similarly, // [3, 6, 4] => 7 // [4, 10, 3, 1, 5] => 15
You are given an array, and a number x. Determines whether or not there exist two elements in in the input array whose sum is exactly x, efficiently.
What is GC.
To solve problems using any programming language.
Write the output of the following code: cout<<2++<<endl; count<<3++<<endl;
Contrary to the one mentioned here before, the interview processes were terrible. You will have three people interviewing your programming skill, an HR, and two managers. Also a phone screening before this. The software developer interview were as crazy as it can be, starting from basic OOP concept, going after your resume that you ever mentioned your skill, to the real exact word by word definition for each design pattern from GOF. Even worst actual Angular and Dependency Injection and again they are not looking for a definition in general but more to how you do that? what you need to declare and you need to be exact, etc. As for the benefits, they are not as good as mentioned btw, the deductibles are higher than my current plan, and also most of the benefits kick in after six months, meaning if you are not fired in three months then you can get it. Also, you can see how "appealing" the employees outfit.
How would you cut a rectangular cake into two equal pieces when a rectangular piece has already been cut out of it? The cut piece can be of any size and orientation. You are only allowed to make one straight cut.
Viewing 1241 - 1250 interview questions