Smallest Multiple With 0 and 1

07 Nov 2019

Smallest Multiple With 0 and 1

Problem

You are given an integer N. You have to find smallest multiple of N which consists of digits 0 and 1 only. Since this multiple could be large, return it in form of a string.

Hint

click here

Solution

Code - here

Practice - interviewBit

Take note