Guys i am a beginner ,can anyone please explain me the theory of brute force approach please

# Brute force approach

just code it, no matter what is it’s complexity, how much memory it is taking, is brute force approach.

In terms of password hacking brute force approach is to insert all the combination of characters until one can’t find the right one. See here for more

When you are **not** using any **predefined** **heuristic** information to solve any problem its brute forcing.

brute-force search or exhaustive search, also known as generate and test, is a very general problem-solving technique that consists of systematically enumerating all possible candidates for the solution and checking whether each candidate satisfies the problem’s statement.

in simple terms what ever u think should be correct u do it without giving any thoughts regarding the time and space complexity.

Sometimes brute force works sometimes not but u should atleast try it once

+1 for a good question.