File tree 1 file changed +28
-0
lines changed
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 4
4
They were travelling in a train one day and they got interested in the seating arrangement of their compartment.
5
5
The compartment looked something like
6
6
7
+ WS MS AS AS MS WS
8
+ 1 2 3 4 5 6
9
+ 12 11 10 9 8 7
10
+ --------------------------
11
+ 13 14 15 16 17 18
12
+ 24 23 22 21 20 19
13
+ --------------------------
14
+ 25 26 27 28 29 30
15
+ 36 35 34 33 32 31
16
+ --------------------------
17
+ 37 38 39 40 41 42
18
+ 48 47 46 45 44 43
19
+ --------------------------
20
+ 49 50 51 52 53 54
21
+ 60 59 58 57 56 55
22
+ --------------------------
23
+ 61 62 63 64 65 66
24
+ 72 71 70 69 68 67
25
+ --------------------------
26
+ 73 74 75 76 77 78
27
+ 84 83 82 81 80 79
28
+ --------------------------
29
+ 85 86 87 88 89 90
30
+ 96 95 94 93 92 91
31
+ --------------------------
32
+ 97 98 99 100 101 102
33
+ 108 107 106 105 104 103
34
+
7
35
So they got interested to know the seat number facing them and the seat type facing them.
8
36
The seats are denoted as follows :
9
37
You can’t perform that action at this time.
0 commit comments