Skip to content

RaghulXander/airplane-seating-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airplane Seating Algorithm

Visualize about how the filling of seats happen for Airplane Passengers. We have some input constraints and rules to fill the seat which is explained here.

VIEW DEMO

Rules for seating

• Always seat passengers starting from the front row to back, starting from the left to the right
• Fill aisle seats first followed by window seats followed by center seats (any order in center seats)

Input to the program will be

• a 2D array that represents the rows and columns [ [3,4], [4,5], [2,3], [3,4] ]
• Number of passengers waiting in queue.

Example:

[ [3,2], [4,3], [2,3], [3,4] ]

About

Using Airplane Seating Algorithm create a UI with the conditions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published