They wanted me to implement a C function that iterates and does basic operations with an RGB image stored in the computer as an vector. They wanted me to use minimal extra space and I had to explain some low level C concepts. I was also asked to implement swap between 2 integers without using extra memory(XOR swap) and some C++ questions.