โŒจ๏ธap computer science principles review

Heuristic

Written by the Fiveable Content Team โ€ข Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated August 2025

Definition

A heuristic is a problem-solving approach or algorithm that uses practical rules or guidelines to find a solution, even if it may not be the most optimal or guaranteed to be correct.