If it is in there, the next a1 character got to be in there too, right after the corresponding a2 character for the previous a1 character, except if the number of remaining characters in a1 is bigger...
Type: Posts; User: popolianuz
If it is in there, the next a1 character got to be in there too, right after the corresponding a2 character for the previous a1 character, except if the number of remaining characters in a1 is bigger...
If the program doesn't end then I don't know what's gonna happen because this is the only logical answer I can think of. If the first character in a1 isn't in a2, it means a1 is not part of a2, thus...
The program is gonna end I guess
I have two arrays: a1 and a2. Assuming a1 is smaller than a2, how do I verify if a1 is part of a2?
For example: if a1 is [1|3|8|7] and a2 is [5|6|1|3|8|7|3|3|4], the answer to the verification will...