Find the Substring . Given s and x , determine the zero-based index of the first occurrence of x in s String s consists of lowercase letters in the range ascii(a-z) String x consists of lower case letters and may also contain a single wildcard character ‘*’ that represents any one character.

Find the substring Given s and x , determine the zero-based index of the first occurrence of x in s String s consists of lowercase letters in the ra…

Read more

You and your friend are at mobile exhibition held in your city . There are 26 companies presenting their mobiles at different stalls. Each company will be determined using a single letter using the alphabets from a to z. There might be more than one stall for some companies present at any positions. You have betted on the sequence of the stalls with your friend.

You and your friend are at mobile exhibition held in your city . There are 26 companies presenting their mobiles at different stalls. Each company will …

Read more