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)
- OSMC on Raspberry PI with Setup and Control using Android App - July 7, 2017
- DHT12 Interfacing with Raspberry Pi using Pi4J - June 19, 2017
- Send data using MQTT from Raspberry Pi with JAVA - June 12, 2017