DSA-Bootcamp-Java
DSA-Bootcamp-Java copied to clipboard
Subsequence-> How can I skip strings "Apple" and "apple" ? Please help.
DSA-Bootcamp-Java/lectures/14-recursion/code/src/com/kunal/strings/SubSeq.java in this code, if we run using the string "bacApple" it will not skip the "Apple" because of the uppercase of apple, how do I skip that using the same code?
if you want to skip the sub sequence "Apple" and "apple" from a loop then i think you can compare subsequence string with "Apple" ||"apple" if match the continue else do your job