We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Of the top solutions, this is the best IMO. I don't know why we want to encourage code that is not readable. In a real world development environment, you are supposed to write code that your peers can understand right away. Not spend 20 minutes deciphering your 1 liner. Thank you sir.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Nested Lists
You are viewing a single comment's thread. Return to all comments →
Of the top solutions, this is the best IMO. I don't know why we want to encourage code that is not readable. In a real world development environment, you are supposed to write code that your peers can understand right away. Not spend 20 minutes deciphering your 1 liner. Thank you sir.