DEV Community

Cover image for Day 1 as an Observer
Gudi Varaprasad
Gudi Varaprasad

Posted on • Edited on

Day 1 as an Observer

Sometimes I was surprised to figure out what CS interns or employees in a software company always code.
I found my answers today! Trust me; it was quite interesting.

We write Leetcode hard solutions. We write optimized code, We write automation scripts, and We write things that ChatGPT can't write or that an AI model can't predict!

Throughout my Engineering Life, I hated Leetcode problems the most. I always need clarification on why the whole Coder community is towards Cracking DSA, Solving Leetcode, Acing Hackerrank, etc. Also, in between, I never understood why "FAANG" picks candidates who can achieve O(1) complexity.

It was today I figured out all these things. As an intern, I was assigned a real-world optimization problem of a cruise scheduler to deliver goods at various ports across the globe. Some constraints are provided, and we have to derive the schedule as output. It was when I remembered the concepts of Linear Programming, Greedy Method, and Dynamic Programming while writing an algorithm on a rough paper. Yes! I found this task interesting, engaging and challenging. It was my first experience putting all the algorithms into existence. Finally, after figuring it out, I could build a code with O(n^2) complexity. Yayy! It sounds cool, right? But then my Team Leader was ready to blow me up for making the code more worse.

The entire day I drank more cups of coffee to write fewer lines of code. Hahaha! Jokes apart! Anyways thanks for reading for so long. To all the aspiring coders, engineers, and developers out there, a single piece of advice... work on improving the logic you write in so-called "Hard Level problems"! Leetcode sucks!
Don't worry if you can't fix Hard Code problems because you will be laid off soon :)

Top comments (1)

Collapse
 
simrananand1 profile image
Simran Anand

Insightful and helpful information!