Hexagon Mining interview question

Just technical stuff.