Meta Interview Question

Two SUM and building sinking.