No1: We kindly ask you to write two classes in C++ and send your code to us. One class shall be a matrix class and one shall be a vector class. Matrices and vectors shall be able to be multiplied. Addition and scalar multiplication shall be supported as well. No linear algebra functions are sought for (e.g. inverse, linear solving, svd etc.). The focus is on correctness, efficiency, and a clean and convincing software design - show us your C++ skills ;-) No 2: You are given a gray scale image which represent the oil distribution in a certain area (pixel value 0: 0 liters of oil, pixel value 255: 255 liters of oil). You can place 64 "drills" in this area. Each drill will extract the oil in a circular area of radius 25 pixels. Please try to find the optimal distribution for the drills, for each of the three images in this archive. Provide your solution as three text files with drill center coordinates, like the example file "drilling_plan_example.txt". You can check out the program "evaluate_plan.py" in this archive. It will be used used to evaluate your solution.
C Engineer Interview Questions
3,794 c engineer interview questions shared by candidates
The LINQ query is fairly complex - they have an enum of the type they are trying to sort and want it to be in a different, specific order.
Started confusing even if i said correct answer
the sheep lettuce and wolf crosing the river question.
fizzbuzz
Having a very big array of adds, how the select k of them at random, so that the probability of each combination is the same.
Given a multithreaded code with a racing condition, find a mistake and correct the code
Probability task: given 2 black and 4 white balls, what is the probability to select 1 black and 2 white balls
2. Reverse words in a string. i/p: "What is this?" o/p: "this? is What"
You are instructed to buy a used car. There is an unlimited supply of sellers, but you do not know what the price range of cars should be. What strategy would you use to determine the best price? If you offered a low price, and the seller accepted, what would you think about the car you bought (is there something wrong with it because it was so cheap)?
Viewing 2591 - 2600 interview questions