{"id": "card_cs_algorithms", "kind": "reference", "title": "Algorithms — good beats bad", "body": "The same task costs wildly different work: merge sort takes ~n log n (24 comparisons for 8 items, sealed), the naive way n^2 (64). As n grows the gap explodes - algorithms, not just faster hardware, are the heart of the field. Rests on P vs NP.", "source": {"label": "Narrow Highway — computer science", "url": "", "authority_tier": "engine_derived"}, "shelf": "codex", "box": "computer_science", "bands": ["computer science", "pillar", "algorithms", "one map"], "subject": "Algorithms — good beats bad", "connections": [{"to_card_id": "card_floor_computer_science", "relationship": "part_of", "evidence": "a pillar of computer science (Algorithms)"}, {"to_card_id": "card_floor_p_vs_np", "relationship": "connects_at", "evidence": "algorithmic cost and complexity classes - the P vs NP region"}], "author": "engine", "created_at": 0.0, "updated_at": 0.0, "visibility": "public", "lifecycle_stage": "public", "volatility": "permanent", "surface": "secular", "generated": false, "call": "codex.computer.science", "facets": {"subject": ["algorithms", "computer science", "one map", "pillar"]}, "presentation": {"glyph": "•", "kind_label": "computer science", "by": "Narrow Highway — computer science", "authority": "engine_derived", "posted": "", "standing": ""}, "neighbors": [{"id": "card_floor_computer_science", "title": "Computer science — bits, logic, and what can be computed", "relationship": "part of", "why": "a pillar of computer science (Algorithms)", "href": "/card/card_floor_computer_science", "resolved": true}, {"id": "card_floor_p_vs_np", "title": "The P versus NP chain - from the machine and the circuit to the three barriers", "relationship": "connects at", "why": "algorithmic cost and complexity classes - the P vs NP region", "href": "/card/card_floor_p_vs_np", "resolved": true}], "house": {"door": "FIND", "kind": "card", "trail": "connections", "seal": "/card/card_cs_algorithms", "next_step": {"do": "follow a connection: what this card rests on, and what rests on it", "door": "FIND", "tool": "card_connections", "params": {"id": "card_cs_algorithms"}}, "ends": "a verdict or a card · the trail · a seal · one next step"}}