---
title: "Discussion on \"I was leetcoding the wrong way\" | Hashnode"
description: "Discussion on \"I was leetcoding the wrong way\". Lessons learned after solving 240 leetcode problems"
url: "https://hashnode.com/posts/i-was-leetcoding-the-wrong-way/61fff6df3a8a6e5fe1197b85"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [I was leetcoding the wrong way](https://ahmedouyahya.hashnode.dev/i-was-leetcoding-the-wrong-way?utm_source=hashnode&utm_medium=feed)

Lessons learned after solving 240 leetcode problems

Feb 6, 2022 · 3 min read · ahmedouyahya.hashnode.dev  
Read the article

-   [#interview](https://hashnode.com/tag/interview)
-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#developer](https://hashnode.com/tag/developer)

## Written by

[Ahmedou Yahya](https://hashnode.com/@ahmedou-yahya)

@ahmedou-yahya

  
[View profile](https://hashnode.com/@ahmedou-yahya)

Software Engineer looking for a new opportinuty.

## Responses 7

Markdown supported · ⌘↵ to post

[Sushil Kumar Mishra](https://hashnode.com/@Sushil2k4)

[Jun 5, 2023](https://hashnode.com/posts/i-was-leetcoding-the-wrong-way/61fff6df3a8a6e5fe1197b85/comment/647d98d71147de02efa73e4d)

Thanks for sharing such valuable insights. 👍

[Vikas Kumar](https://hashnode.com/@vikaskumar27)

[Feb 10, 2023](https://hashnode.com/posts/i-was-leetcoding-the-wrong-way/61fff6df3a8a6e5fe1197b85/comment/63e5cc97f30581f89abcd19e)

great teachings

[Ahmedou Yahya](https://hashnode.com/@ahmedou-yahya)

[Feb 10, 2023](https://hashnode.com/posts/i-was-leetcoding-the-wrong-way/61fff6df3a8a6e5fe1197b85/comment/63e5cc97f30581f89abcd19e#reply-63e5f18ddb59c3f72b9f4019)

Thanks Vikas

[Utkarsh Nagar](https://hashnode.com/@Utkarshn10)

[May 25, 2022](https://hashnode.com/posts/i-was-leetcoding-the-wrong-way/61fff6df3a8a6e5fe1197b85/comment/628e637719bda58ac7fb1745)

Awesome Article !!

[Ahmedou Yahya](https://hashnode.com/@ahmedou-yahya)

[May 25, 2022](https://hashnode.com/posts/i-was-leetcoding-the-wrong-way/61fff6df3a8a6e5fe1197b85/comment/628e637719bda58ac7fb1745#reply-628e968d43220290a7eeb5c4)

Thanks Utkarsh

[Prasurjya Pran Borah](https://hashnode.com/@iamppborah)

[May 18, 2022](https://hashnode.com/posts/i-was-leetcoding-the-wrong-way/61fff6df3a8a6e5fe1197b85/comment/6285408a7b02ca162edacb40)

Thanks for sharing [Ahmedou](https://hashnode.com/@ahmedou-yahya)!🙌

[Ahmedou Yahya](https://hashnode.com/@ahmedou-yahya)

[May 24, 2022](https://hashnode.com/posts/i-was-leetcoding-the-wrong-way/61fff6df3a8a6e5fe1197b85/comment/6285408a7b02ca162edacb40#reply-628cc588b4bd016fc9a30ee7)

My pleasure [Prasurjya Pran Borah](https://hashnode.com/@ppborah)

[Akanksha Gahalot](https://hashnode.com/@Akku)

[Apr 7, 2022](https://hashnode.com/posts/i-was-leetcoding-the-wrong-way/61fff6df3a8a6e5fe1197b85/comment/624f05e7bd2d386758328f6d)

Well said !! I have also started recognizing patterns all thanks to [Kunal Kushwaha](https://hashnode.com/@kunalk) videos

[Ahmedou Yahya](https://hashnode.com/@ahmedou-yahya)

[Apr 7, 2022](https://hashnode.com/posts/i-was-leetcoding-the-wrong-way/61fff6df3a8a6e5fe1197b85/comment/624f05e7bd2d386758328f6d#reply-624f0c3dbd2d38675832903e)

Thanks Akanksha and good luck in your journey

[Hassan Shoayb](https://hashnode.com/@Shoayb)

[Apr 3, 2022](https://hashnode.com/posts/i-was-leetcoding-the-wrong-way/61fff6df3a8a6e5fe1197b85/comment/62496f7216cdedfe9f7ce5bc)

Nice Job!

[Ahmedou Yahya](https://hashnode.com/@ahmedou-yahya)

[Apr 6, 2022](https://hashnode.com/posts/i-was-leetcoding-the-wrong-way/61fff6df3a8a6e5fe1197b85/comment/62496f7216cdedfe9f7ce5bc#reply-624d9240acbdc253564c4daa)

Glad to hear it!

[Kunal Kushwaha](https://hashnode.com/@kunalk)

[Apr 3, 2022](https://hashnode.com/posts/i-was-leetcoding-the-wrong-way/61fff6df3a8a6e5fe1197b85/comment/6249558a4b4dde0dc0be7fa3)

Great work!

[Ahmedou Yahya](https://hashnode.com/@ahmedou-yahya)

[Apr 6, 2022](https://hashnode.com/posts/i-was-leetcoding-the-wrong-way/61fff6df3a8a6e5fe1197b85/comment/6249558a4b4dde0dc0be7fa3#reply-624d922d375c2653317a1428)

Thanks a lot Kunal. You inspired me to start writing and learning in public.
