How to check if string is binary or not-using Naive Approach

Published --