We use privacy-friendly product analytics (no session recording, PII masked) to improve OpenStem. Load analytics? Privacy Policy
Software: explore STEM content (page 24 of 25) · openstem
Explore STEM Content
Search the community's STEM library — free to study, yours to make your own.
Software
Programming, algorithms and systems on openstem — flashcards, notes, quizzes, sketches and flowcharts shared by the community. Study free, or clone anything into your library.
Reading Big-O at a Glance Big-O describes how an algorithm's work grows as the input size n grows. Knowing the common classes by name makes it fast to reason about a new problem without re-deriving the math each time. Deciding How to Solve
Software
Software · L1 · Data Structures & Algos: Picking the Right Approach
What does 'everything is a widget' mean in Flutter?1 / 10
The entire UI is built from widgets — not just buttons and text, but also layout (Row, Column, Padding), styling, and even the app itself. Widgets are immutable descriptions of part of the UI; Flutter builds a tree of them and renders it.
When a backtracking regex engine fails to match after a greedy quantifier consumed input, what does it do?
AImmediately reports no match with no further attemptsBBacktracks, giving back characters one at a time and retrying the rest of the patternCRestarts the match from a random positionDSwitches to a lazy quantifier automatically
Software
Software · L3 · Regular Expressions & Text Parsing
What is the difference between CommonJS and ES Modules?1 / 10
CommonJS (require/module.exports) is synchronous and was Node's original system. ES Modules (import/export) are the standard, support static analysis and tree-shaking, and are asynchronous. Node supports both; .mjs or "type":"module" enables ESM.
Why Process Calculi Operational protocols like Paxos and Raft describe how a specific class of fault-tolerant systems reaches agreement. Process calculi sit one level up in abstraction: they are algebraic languages for describing and reason
Software
Software · L5 · Process Calculi: CSP, the π-Calculus, and Behavioural Equivalence
Precisely how does an isolate's event loop interleave the microtask and event queues?1 / 10
After each event-queue item completes, the loop drains the entire microtask queue — including microtasks scheduled while draining — before pulling the next event-queue item. Microtasks added during a microtask thus run before any timer or I/O event, so a runaway microtask producer can starve the event queue indefinitely.
How does the browser send cookies back to a server?1 / 10
After a server sets a cookie via Set-Cookie, the browser automatically attaches matching cookies in the Cookie header on subsequent requests to that domain/path, subject to Secure, SameSite, and expiry rules.
What is a Kafka partition, and why does it determine ordering guarantees?1 / 8
A partition is an append-only, ordered log — one shard of a topic. Kafka guarantees order only within a single partition, not across a topic's partitions, so events that must stay ordered relative to each other (e.g. all updates to one entity) need to be produced with the same partition key so they land on the same partition.
What is the difference between a Docker image and a container?1 / 10
An image is an immutable, layered template (the blueprint). A container is a running (or stopped) instance of an image with its own writable layer. One image → many containers, like a class → objects.
What does 'elasticity' mean in cloud computing?1 / 10
Elasticity is the ability to automatically scale resources up or down to match demand, so you provision capacity dynamically instead of buying for peak load.
File metadata — type, permissions, owner, size, timestamps, and pointers to the data blocks — but not the file's name, which lives in directory entries.