# Brute Force

*noun*

say it: **“BROOT FORS”** **/brut fɔrs/**

The plain, try-everything way to solve a problem, which works but is often slow on big inputs.

## What is a **brute-force** solution?

A **brute-force** solution tries every possibility, such as comparing every song with every other song to find two that fit. It's usually the easiest correct answer, and a good first plan to say out loud, but it's often O(n²) or worse, so the next step is a faster way.

## In a sentence

- “My first plan was **brute force**, checking every pair of songs, before I switched to a dictionary.”

Level: Apprentice · [More Software Development terms at this level](https://www.ask-codey.com/glossary?category=software-development&level=2)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/brute-force
