Mat and Jet (Problem 26) - InfyTQ Solution in Python
Mat and Jet (Problem 26)
InfyTQ Solution in Python
PROBLEM STATEMENT
Given a string, write a python function to return True if the strings "mat" and "jet" appear the same number of times in the given string, else return False.
Note: Perform case insensitive string comparison wherever necessary.
Sample Input | Expected Output |
---|---|
Jet on the Mat but mat is too long | False |
mat jet Jet Mat | True |
SOLUTION
SHARE
If you find this useful, please share with your friends and Community.
CODE TOGETHER..GROW TOGETHER.
CODE TOGETHER..GROW TOGETHER.
Newer Posts
Newer Posts
Older Posts
Older Posts
Comments