---
title: "Discussion on \"Introduction to Time and Space Complexity\" | Hashnode"
description: "Discussion on \"Introduction to Time and Space Complexity\". Rubix's Cube নামটার সাথে আমরা কমবেশি অনেকেই পরিচিত। যেকোনো বয়সের মানুষই এই Puzzle মিলাতে পছন্দ করে। শুরুর দিকে আমরা যখন এটা মিলাতে যাই তখন আমাদেরকে অনেক বেশি প্র্যাকটিস করতে হয়। এক পর্যায়ে দেখা যায় আমরা সেটা মিলাতে সক্ষমও হই। কিন্তু এখানে একটা সম..."
url: "https://hashnode.com/posts/time-and-space-complexity/6651d4852a90ce8e40c78767"
---

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

Discussion

# [Introduction to Time and Space Complexity](https://blog.stacklearner.com/time-and-space-complexity?utm_source=hashnode&utm_medium=feed)

Rubix's Cube নামটার সাথে আমরা কমবেশি অনেকেই পরিচিত। যেকোনো বয়সের মানুষই এই Puzzle মিলাতে পছন্দ করে। শুরুর দিকে আমরা যখন এটা মিলাতে যাই তখন আমাদেরকে অনেক বেশি প্র্যাকটিস করতে হয়। এক পর্যায়ে দেখা যায় আমরা সেটা মিলাতে সক্ষমও হই। কিন্তু এখানে একটা সম...

May 25, 2024 · 3 min read · blog.stacklearner.com  
Read the article

-   [#time-complexity](https://hashnode.com/tag/time-complexity)
-   [#space-complexity](https://hashnode.com/tag/space-complexity)
-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#dsa](https://hashnode.com/tag/dsa)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Md. Maruf Sarker](https://hashnode.com/@mdmarufsarker)

@mdmarufsarker · Dhaka, Bangladesh

  
[View profile](https://hashnode.com/@mdmarufsarker)

Social Media Manager

Self Learner, Content Creator, Competitive Programmer, and Social Media Manager.

## Responses 5

Markdown supported · ⌘↵ to post

[Joyanta Sarkar](https://hashnode.com/@joyanta919)

[Aug 27, 2024](https://hashnode.com/posts/time-and-space-complexity/6651d4852a90ce8e40c78767/comment/66ce034238c3f2ab99f33454)

All are O(n)

[Ig Momin Khan](https://hashnode.com/@IgMominKhan)

[Jun 9, 2024](https://hashnode.com/posts/time-and-space-complexity/6651d4852a90ce8e40c78767/comment/666611621ddea91cbc692239)

Both o(n)

[Puspol Mondol](https://hashnode.com/@Puspol)

[May 27, 2024](https://hashnode.com/posts/time-and-space-complexity/6651d4852a90ce8e40c78767/comment/6655135c6e5ffbcc74bbe5d5)

O(n)

[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)

[rafi rafi](https://hashnode.com/@Ismaill)

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

O(n)

[Jahid Hasan](https://hashnode.com/@jahid8920)

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

শুরু টা অসাধারণ হয়েছে.... তবে, শেষ টা আরো সুন্দর হতে পারতো🥰🙏

(যাই হোক, আমি অনেক বার ৩৮-৪০ সেকেন্ডে রুবিক্স কিউব মিলিয়েছি,!)
