Is it necessary for an algorithm to solve a problem with an infinite number of steps?

A ) No

B ) Yes ✅

C ) Error

D ) None of these