Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions session1/index_extra.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@ function isPalindrome(str) {
// }
// }
// return isPali


// CONTRIBUTED SOLUTION
// By Mateus Kuritza
// strReverse = str.split("").reverse().join("");
// if(str === strReverse){
// return true
// }else{
// return false
// }

// CONTRIBUTED SOLUTION
// for (i=0; i<str.length/2; i++) {
Expand Down