LG Electronics Interview Question

A few puzzles