Category: coding exercise
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 …
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 …
Let’s suppose we have a table containing two columns ID and sex, and our task is to swap the values of sex i.e. from ‘f’ to ‘m’ and from …
Given scores of N athletes, find their relative ranks and the people with the top three highest scores, who will be awarded medals: “Gold Medal”, “Silver Medal” and “Bronze …
The RDTSC is the IA-32/IA-64 (or x86/x64) instruction that loads the current value of the processors’ time stamp into EDX:EAX registers. RDTSC is short for “Read Time-Stamp Counter”. It …