What are some of the biggest lessons you’ve learnt as a professional Software Engineer?” Marcus asked shyly.

“And here I was, thinking that I’m the one asking the tough questions” I replied, smiling at him encouragingly.

I was taking a sabbatical from Software Engineering at Google and spending the Fall teaching at the University of Puerto Rico.

Marcus was one of the quietest students in my class and he’d never volunteered to ask a question before. Sometimes, after I’d cracked a joke in class, my eyes would meet his, and he would smile fleetingly before looking away shyly, as if…


“Comments should account for 5% of the total points” my fellow teacher declared.

In the fall of 2019, I was co-teaching an introductory course in computer programming and got into a disagreement on whether the students should be required to incorporate comments into their project submission.

“I want the students to develop good practices early on in their career. Surely, you’ll agree that adding comments improves code quality?” the fellow teacher asked me, almost righteously, a little miffed at my pushback.

I disagreed, and emphatically. Being encouraged to sprinkle comments everywhere is probably the worst programming practice being taught in…


This is a follow-up to my previous article “The LeetCode Phenomenon”. While the article is targeted at folks who are struggling with converting interviews into offers, I’ve covered several tips/strategies that will be useful to anyone who is in the process of interviewing or curious about interviewing.

In the fall of 2019, I took a sabbatical from Software Engineering and spent a semester teaching interview preparation at the University of Puerto Rico. I co-taught and co-trail-blazed the course with a well loved and competent Professor.

I remember looking into the warm, curious eyes of the 30 students who had taken…


In the winter of 2015, I was working as a Software Engineer at Microsoft and looking for my next Software Engineering job (here’s why), albeit with little success. I remember expressing my frustration to a friend over a velvety Stout beer at a funky bar in Seattle’s Ballard neighborhood on a cold, rainy November night. I remember his words clearly:

“So, there is this platform which sort of lets you game the System”

That’s when I first heard about LeetCode- a programming platform which has now become the staple for coding interview preparation. The platform consists of interview style coding…

S. G.

I mostly write about programming, interviews and self improvement.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store