Design De Cores Interview Questions

1,238 design de cores interview questions shared by candidates

The interview question is to maximize the number of tastes of candies that will be distributed for my little sister and me by my mom. And there is a constraint called k which is the number of unique tastes my mom should give to my little sister. The tastes should be consecutive, I mean k consecutive candies. I need to maximize the number of unique candies tastes that I can achieve among all of the options. Example: candies = [2, 2, 4, 2, 3, 3, 3], k = 3. The answer is 3. I can give [2, 3, 3] for little sister and will have [2, 2, 4, 3].
avatar

Core Developer

Interviewed at Africa to Silicon Valley

3.7
Jul 19, 2024

The interview question is to maximize the number of tastes of candies that will be distributed for my little sister and me by my mom. And there is a constraint called k which is the number of unique tastes my mom should give to my little sister. The tastes should be consecutive, I mean k consecutive candies. I need to maximize the number of unique candies tastes that I can achieve among all of the options. Example: candies = [2, 2, 4, 2, 3, 3, 3], k = 3. The answer is 3. I can give [2, 3, 3] for little sister and will have [2, 2, 4, 3].

* Layout of inherited objects, table layout and how virtual functions and inherited. The interviewer started with a base class which contain a virtual function and an inherited class. Then goes on accessing member functions and data from these base class objects and inherited class objects. The interview question is to explain using the vtable and the memory layout for each of these class instances how and why you get resolved to the correct definition of the virtual function.
avatar

Core Engineering

Interviewed at Everpure

3.5
Jul 17, 2015

* Layout of inherited objects, table layout and how virtual functions and inherited. The interviewer started with a base class which contain a virtual function and an inherited class. Then goes on accessing member functions and data from these base class objects and inherited class objects. The interview question is to explain using the vtable and the memory layout for each of these class instances how and why you get resolved to the correct definition of the virtual function.

Viewing 191 - 200 interview questions

Glassdoor has 1,238 interview questions and reports from Design de cores interviews. Prepare for your interview. Get hired. Love your job.