A brute-force algorithm exhaustively searches through every possible solution to a problem, while an optimized algorithm employs special techniques to improve efficiency and reduce time complexity.