Check Seat Availability

Medium

📝 Description

Given booked seats, check if a seat is available.

Input Format

booked = ["A1", "B2"], seat="A1"

Output Format

False

Constraints

Number of seats ≤ 1000

🔍 Sample Input

["A1", "B2"], "A1"
            

✅ Sample Output

False
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run