There's a fine line between irrelevant programming trivia and tricks in your programming language. Python always has me riding that fine line. There was a question today that was easy to complete in python because I knew the nuances of two functions. First the int function can take in a second parameter which specifies the base of the object being converted to decimal. Also, there is a bin() function that turns a integer or a number to binary.
Does this count as trivia or a trick I should know...
Who knows anymore? I should refresh on this before an interview tho... just in case...
Anyways I found this weird algorithm that I thought was cool. Probably won't use it in an interview BECAUSE THIS IS DEFINETELY IRRELEVANT PROGRAMMING TRIVIA.
Look, there is no chance I would be able to come up with this during an interview, and I'm not going to memorize it.
No comments:
Post a Comment