Datastraw Interview Question

Logical and desicion making question