Data Semantics interview question

coding - pattern, time based