You are viewing a single comment's thread. Return to all comments →
What about for this test case? peek seeker 3 It should give you no as answer But running your code against this test case will give Yes
if (tLength) { return (sLength) % 2 == 0; }
if(4<6){ return(6-4)%2==0 gives yes But can't be converted }
Append and Delete
You are viewing a single comment's thread. Return to all comments →
if (tLength) { return (sLength) % 2 == 0; }