---
title: "Comment by walid Pw on \"Two Sum Problem Solution\" | Hashnode"
description: "Hello Amine, Thank you for this article, already did solve it with the two nested for loops, but never thought that there is a faster solution for it. Thank you"
url: "https://hashnode.com/posts/two-sum-problem-solution/61fd1aca8d15cb3e7ce60e33/comment/62138b9508ed9c6a4083a6ad"
---

[Discussion](https://hashnode.com/posts/two-sum-problem-solution/61fd1aca8d15cb3e7ce60e33)

Comment [Two Sum Problem Solution](https://hashnode.com/posts/two-sum-problem-solution/61fd1aca8d15cb3e7ce60e33)

[walid Pw](https://hashnode.com/@walidbouhla)

[Feb 21, 2022](https://hashnode.com/posts/two-sum-problem-solution/61fd1aca8d15cb3e7ce60e33/comment/62138b9508ed9c6a4083a6ad)

Hello Amine,

Thank you for this article, already did solve it with the two nested for loops, but never thought that there is a faster solution for it.

Thank you again.

[Amine Saissi Hassani](https://hashnode.com/@aminesaissihassani)

[Mar 4, 2022](https://hashnode.com/posts/two-sum-problem-solution/61fd1aca8d15cb3e7ce60e33/comment/62138b9508ed9c6a4083a6ad#reply-62221216c2286341f652abac)

Thank you Walid! Glad it helps you!
