Fiserv Interview Question

3-4 Puzzles. Algorithm of binary search. Design Problem : Design a room with colours. Databases : Create a table of railway system with details of trains and describing each of keys.