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
7 changes: 7 additions & 0 deletions session1/index_extra.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ function isPalindrome(str) {
// return str == reverseString(str);
// =================

// Contributed Solution
// By Yash Jagtap
// if (str === reverseString(str)) {
// return true;
// }
// return false;

}

// CHALLENGE 3: REVERSE AN INTEGER
Expand Down