(String S)
| 1 | class Solution { |
| 2 | int isPlaindrome(String S) { |
| 3 | // code here |
| 4 | int start=0; |
| 5 | int end=S.length()-1; |
| 6 | while(start<end) |
| 7 | { |
| 8 | if(S.charAt(start)!=S.charAt(end)) |
| 9 | { |
| 10 | return 0; |
| 11 | } |
| 12 | start++; |
| 13 | end--; |
| 14 | } |
| 15 | return 1; |
| 16 | } |
| 17 | } |
nothing calls this directly
no outgoing calls
no test coverage detected