Solvable quickly vs verifiable quickly
P is the class of decision problems a deterministic machine can solve in polynomial time — multiply two numbers, sort a list, check whether a graph is connected. NP is the class where, given a candidate solution, a polynomial-time machine can verify the answer is correct. The two are not obviously the same. Sudoku is the textbook example: filling in a 9×9 grid is genuinely hard, but if a friend hands you a completed grid you can confirm every row, column and box in a single linear sweep. The hard part is finding the solution; the easy part is checking it.