#computer science
Posts tagged with “computer science”.
6 posts
Big-O Notation Explained With Real Code Examples
Big-O notation describes how an algorithm's cost grows as input grows. Learn the common classes, how to read them, and the mistakes beginners make.
Data Structures Every Developer Should Know
A practical tour of the data structures you actually use: arrays, hash maps, sets, stacks, queues, trees, heaps and graphs, with real trade-offs.
Linked Lists Explained: When They Beat Arrays
Linked lists store elements in nodes connected by pointers. Learn singly and doubly linked lists, their real costs, and when they actually beat arrays.
Sorting Algorithms Compared: Which One and Why
Compare bubble, insertion, merge, quick, heap and counting sort on time, space and stability, and learn which one your language actually uses.
Stacks and Queues Explained With Real Use Cases
Stacks are last-in-first-out and queues are first-in-first-out. Learn how both work, how to implement them, and where each appears in real software.
Understanding Recursion With Practical Examples
How recursion actually works, when it beats a loop, how the call stack behaves, and the mistakes that turn a simple function into a crash.