This is the solution to the problem found in the Strings section of the Algorithm Domain. The problem statement is we need to print YES if there is at least a substring of length 1 in both the strings, else we need to print NO. The bellow program is done using python.
for i in range(0,len(x)):
for j in range(0,len(y)):
for i in range(0,input()):
Found Bugs, Report Us !
Latest posts by Bikash Panda (see all)
- Firmata protocol with Raspberry Pi and Arduino - September 13, 2017
- IOT:Power outlet controlled from internet using WeMOS - August 9, 2017
- OSMC on Raspberry PI with Setup and Control using Android App - July 7, 2017