Category: c / c++
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted …
Given a string which contains only letters. Sort it by lower case first and upper case second. Example: For “abAcD”, a reasonable answer is “acbAD”. Challenge: You should do …
Introduction This is a C++ coding test. It is expected that this task should take a few hours to complete. Task description Overview When designing graphics hardware it is …
What is a Garbage Collector in C# (what does it do). Are the objects automatically GC-ed in C#? If not, why/how? Are the structs automatically GC-ed in C#? Tell …
Write a method to check if a given integer is a perfect square e.g. 4, 9, 16, 25 … you cannot use the sqrt or pow functions. One solution …