Logic-2

Answered the Logic-2 problems