ZS Associates Interview Question

What estimations and considerations will I take into account while creating an algorithm for a lift system?