Spoiler: Google didn't hire me. Apparently, Clement is an ex-Google engineer and this wasn't a real interview :(
I just learnt to display "Hello world" in python. Now this video is recommended to me.
Before Interview: Confident in Python skills During Interview: Draws a complete blank when given a code challenge After Interview: Crawls in hole and contemplates current career choices
Great idea for a video! His knowledge, the idea for the format of video and you as the interviewer is well worth the (as of writing this) 1.5+ million views. Nice work!
"I'm quite good at computational geometry" - well there is something I didn't know existed.
For every aspiring software engineers out there, watch the last 5 minutes of this video. It is GOLD and it will provide answer to all your insecurities about problem-solving abilities. I thank Clement and errichto for making this. Looking fwd to watch more
Didn't follow much of the problem, but the composure of this guy is something to learn from. I'm super impressed :)
For the second part, the diagonals were the way to go. If two segments intersect in their middle and have the same length they are the diagonals of a rectangle. Just modify the code for the first solution by using the center of the segment and its length as the key in your map. Solution would be O(n²).
This was entertaining to watch. I liked how Errichto remained so calm and composed during the mock interview. I've had an interview recently where I was asked an extremely simple question and I blankly stared at the screen for minutes before regaining my composure and completing the problem. I have a lot of respect for you and many of the software engineers who have done excellent during these interviews with those large companies. It takes a lot of knowledge, skill, and composure. Respect.
I haven't written code in 40 years, but as a mathematician I could definitely walk someone through several ways to execute this counting, both cases. This was very interesting to see the code/shorthand in a modern programming language.
My self-esteem doesn’t need this
writing code in google docs brings cancer to my eyes
This ended up being Errichto giving tutorial on algorithms to Clement
Clement: never interviewing a Competitive Programmer again!!
"I'm quite good in computational geometry".. when clement reminded only 2 mins left ''Take it easy".... Erricho is a gangster!
"I'm quite good in computational geometry"... you sure you want to ask me such a stupid question?
What a guy! The way he approaches the questions is just amazing.
I don’t know a single lick of coding, how did I get here
2:10 "i can handle upto 10 dimensions". - Errichto
@clem