Bending Spoons Interview Question

some mathematics and databases questions