Optimal Seating Arrangement Algorithm Interview