Shreya Narayan’s Post

View profile for Shreya Narayan

SWE2@Google | GoldmanSachs | 35k LinkedIn | SIH'22 Winner | UIA'22 Winner | EthIndia'22 & '23 Winner | Singapore India Hackathon Finalist '23

DSA Failures: Why Getting Stuck is Good for Your Brain When I first started preparing for coding interviews, I thought getting stuck on a DSA problem meant I wasn’t good enough. One moment still sticks with me vividly: I was solving a dynamic programming problem on LeetCode — it was “Partition Equal Subset Sum.” What looked like a simple subset-sum variation completely broke me. I spent 2 hours. Tried brute force. Even watched a hint video — still didn’t click. That night, I genuinely questioned if I was even made for coding. But two days later, something strange happened: With fresh eyes, I actually figured it out — on my own. Not by copying someone’s solution. Not by memorizing a template. But by truly understanding how to break down a DP state and transition. That experience taught me something powerful: Getting stuck isn’t failure — it’s brain growth happening in real-time. When you struggle, your brain is building new pathways. When you give up too early, you rob yourself of that growth. Today, whenever I get stuck on a hard DSA problem, I see it as an opportunity — not a defeat. If you’re struggling too — KEEP GOING. The breakthrough is closer than you think. #DSA #CodingInterview #InterviewPreparation #TechInterviews #LeetCode #DSAPractice #ProblemSolving #SoftwareEngineering #CareerGrowth #CodingJourney #DynamicProgramming #CodingStruggles #BrainGrowth #NeverGiveUp #LearningMindset #Consistency #TechCareers #CodingLife #DeveloperJourney #TechMotivation

  • No alternative text description for this image
Riyasha Jaiswal

Software Development Engineer @Flipkart | Ex- Sprinklr, Amazon || NIT Patna '23 || CSE

5d

Amazing tips

Like
Reply
Ravi Singh

Java || Python || Data Science and ML Enthusiastic || Attended Dr. A.P.J. Abdul Kalam Technical University (AKTU), Lucknow

5d

Definitely worth reading

Like
Reply
Sadiq J

BTech IT Student || Skilled in Java & Data Structures,C, C++ || Backend Developer || Hackathon Enthusiast || Actively Seeking Internship Opportunities

5d

Exactly 💯 From obstacles to creating opportunities!

Afra Hassina A

Computer Science and Engineering Artificial Intelligence and Machine Learning CSE(AIML)

5d

Great share mam

Aradhana Kumari

Bny Melon code divas 2025 Finalist || Former Intern @Itjobxs|| SIH ( Smart India Hackathon) Runnerup 2023 ||TESA member || Ex intern @codsoft || IEEE volunteer|| Java || c++ || Data structure || Web development

5d

Really inspiring mam😊

Like
Reply
Kapil Kumar

SDE Intern Amazon || Java || Data Structures & Algorithms || ReactJS || Spring Boot || 800+ DSA Problems || DTU'25 CSE

5d

Amazing

Like
Reply
Venkata Prasad Pandilla

Full Stack Developer Trainee at Technical Hub | MCA student at Aditya University

5d

Very informative and Definitely worth reading Shreya Narayan

Like
Reply
Diksha Chourasiya

Data Engineer at Fractal || 2 X Google Cloud Certified ☁️|| Ex- Quantiphi, WIPRO || Former Microsoft Student Partner

5d

These quotes are an excellent reminder to keep evolving and surrounding ourselves with the right people for success!

Deepa Sajjanshetty

23k+ @Linkedin | Web Developer at MA Services Group | Expertise in Vue.js, PHP, HTML, CSS, and JavaScript | Exploring New Technology Opportunities

5d

Great share

Like
Reply
See more comments

To view or add a comment, sign in

Explore topics