Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
cs-142:substrings-and-palindromes [2015/05/28 20:23]
cs142ta [Problem]
cs-142:substrings-and-palindromes [2015/05/28 20:23] (current)
cs142ta [Solution]
Line 23: Line 23:
 bool is_palindrome(string str) bool is_palindrome(string str)
 { {
- bool this_is_palindrome = true; 
- 
  // base case  // base case
  if (str.length() <= 1)  if (str.length() <= 1)
cs-142/substrings-and-palindromes.txt ยท Last modified: 2015/05/28 20:23 by cs142ta
Back to top
CC Attribution-Share Alike 4.0 International
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0