How would you change the value of a pointer vs a reference?
C Software Developer Interview Questions
3,502 c software developer interview questions shared by candidates
First: simple "logic" test that took less than 30 mins,contained a bunch of simple math problems. The second one took 4-8 hours. You had 3 problems: the first one asked you to create 5 classes that were derivated from a base, in the second one you had to debug some code and the third one asked you to upgrade that code in 4 steps
1) circular max sum 2) triangle and ant puzzle 3) intersection of linked list 4) max contiguous sum k in array most of them are from array topic.
C basic ( just only the basic of thee c ) Aptitude
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.
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.
Viewing 2391 - 2400 interview questions