scrolls

where thought scrolls on

Tag: Time Complexity

  • Binary Search vs. Linear Search

    Binary Search vs. Linear Search: The Art of Finding What You Need Fast In computer science, searching is everything. Whether it’s looking up a contact on your phone or querying a massive dataset in a cloud database, how you search can dramatically impact performance. In this post, we’ll explore two fundamental techniques: Linear Search and…

  • Stacks vs. Queues

    Building Blocks of Program Flow Introduction Every programmer, from novice to ninja, eventually meets two key data structures: Stacks and Queues. They’re deceptively simple — but incredibly powerful. Understanding them is essential for managing program state, controlling flow, and solving real-world problems. Download PDF Study Card What Is a Stack? A stack is a linear…