Booking.com Interview Question

determine the type of polygon,