employer cover photo
employer logo

VMware interview question

A simple question in the first round : Given a random integer, write a one-line code to normalize the number into a given range (given min and max) .

Interview Answers

Anonymous

29 Dec 2019

Lambda int: int.sort(reverse=False), print(int)

2

Anonymous

29 Dec 2019

Lambda int: int.sort(reverse=False),print(int)

1