---
title: "Comment by Md. Sohanur Rohman Sihab on \"Introduction to Time and Space Complexity\" | Hashnode"
description: "time complexity O(n) space complexity also O(n)"
url: "https://hashnode.com/posts/time-and-space-complexity/6651d4852a90ce8e40c78767/comment/6652d502ef5758397ad492b6"
---

[Discussion](https://hashnode.com/posts/time-and-space-complexity/6651d4852a90ce8e40c78767)

Comment [Introduction to Time and Space Complexity](https://hashnode.com/posts/time-and-space-complexity/6651d4852a90ce8e40c78767)

[Md. Sohanur Rohman Sihab](https://hashnode.com/@devsrsihab)

[May 26, 2024](https://hashnode.com/posts/time-and-space-complexity/6651d4852a90ce8e40c78767/comment/6652d502ef5758397ad492b6)

time complexity O(n) space complexity also O(n)
