Answer. A lot of programming constructions came frommath. The List structure is analogue of math structure call sequence and the Set structure is analogue of math structure called set. In math. In math, a set is a collection of distinct objects and sequence is just an enumerated collection of objects.