Study resources

Computer Science — popular questions

Step-by-step Computer Science answers from Answer AI — curated questions, sorted newest first.

About this Computer Science catalog

Algorithms, data structures, complexity analysis, and programming-language questions with annotated reference solutions.

Computer science homework spans algorithm design, data-structure operations, complexity proofs, and language-specific debugging. Acemy's CS catalog separates conceptual problems ("prove the worst-case complexity of this algorithm") from implementation problems ("finish this function") and answers each in the format graders expect — proofs in clear prose with invariants stated, code in idiomatic Python/Java/C++ with comments on the non-obvious lines.

Big-O analysis is justified line by line, not asserted. Recursive solutions show the recurrence relation and at least one base-case walkthrough. Code snippets include the test input and expected output so you can verify before submitting. Common bug patterns (off-by-one, integer overflow, infinite recursion) are flagged in the pitfall section.

If you're stuck on a complexity proof, search for problems on the same data structure (hash maps, balanced trees, graphs) rather than the same algorithm name — the techniques transfer. For implementation problems, write your own attempt before looking at the answer; reading code is a much weaker learning signal than writing it.

Showing 1 per page · 1 total