@clem

Hope you all found this coding interview insightful! And check out the video we made on Errichto's channel where we chatted about coding interviews, Math in Software Engineering, and more: https://www.youtube.com/watch?v=Y8VeyLG3NhY

@Errichto

Spoiler: Google didn't hire me.
Apparently, Clement is an ex-Google engineer and this wasn't a real interview :(

@Bharanivijay00700

I just learnt to display "Hello world" in python. Now this video is recommended to me.

@TheQA247

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

@Hallden_

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!

@DaMainDude

"I'm quite good at computational geometry" - well there is something I didn't know existed.

@saiprajeeth

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

@AmanDeepSingh-xe9of

Didn't follow much of the problem, but the composure of this guy is something to learn from. I'm super impressed :)

@FredericJardon

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²).

@JLRide

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.

@thane9

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.

@hoagiesandwich

My self-esteem doesn’t need this

@simonbachmann2120

writing code in google docs brings cancer to my eyes

@antonistrychalski5125

This ended up being Errichto giving tutorial on algorithms to Clement

@arunarkamukhopadhyay6443

Clement: never interviewing a Competitive Programmer again!!

@shaekmrsyahoocom

"I'm quite good in computational geometry".. when clement reminded only 2 mins left ''Take it easy".... Erricho is a gangster!

@peterlucas6732

"I'm quite good in computational geometry"... you sure you want to ask me such a stupid question?

@pratiksingh8650

What a guy! The way he approaches the questions is just amazing.

@hoffie7456

I don’t know a single lick of coding, how did I get here

@sudosai

2:10 "i can handle upto 10 dimensions". - Errichto