Skip to main content

All Questions

Tagged with
11 votes
5 answers
1k views

Easy to read palindrome checker

I made a palindrome checker that's supposed to be designed to be simple and easy to read. Please let me know what you think. I believe the time complexity is \$\mathcal{O}(n)\$ but I'm not too sure ...
DreamVision2017's user avatar
6 votes
2 answers
933 views

Longest palindrome in an array

I am new to programming, and think this code could be improved upon. Any suggestions? ...
manish ma's user avatar
  • 335
4 votes
2 answers
206 views

Palin Pairs (Pallindrome Counting) Code

In an array of strings 'a' having 'n' strings i have to select the Palin Pairs from the given strings .for ex for input 3 bba abb abb Output=2 I am getting correct output but want to reduce time ...
Ravi's user avatar
  • 161
3 votes
3 answers
4k views

Finding number of palindrome pairs in an array

I am trying to find the number of string pairs in an array that are palindromes. ...
Mayank's user avatar
  • 131