Get the latest tech news
Interview gone wrong
I have a very basic question which I usually ask in a interview which is to implement a tic tac toe game. I like this because the logic is straightforward and it helps to judge things like code quality / speed / conciseness etc. The candidate this time was programming in python
I like this because the logic is straightforward and it helps to judge things like code quality / speed / conciseness etc. The candidate this time was programming in python and had put a statement to figure out if we have a winner by checking if all the elements in the diagonal position are the same. After the interview I found out Python has a thing called chained expressions when you write something like the above, it gets transformed to the later statement given below :
Or read this on Hacker News