Sigmoid interview question

DSA , Python , SQL