These are chat archives for camperbot/bonfire-check-for-palindromes

26th
Dec 2015
Oleg Malinovsky
@Cerberussian
Dec 26 2015 16:37
hint
CamperBot
@camperbot
Dec 26 2015 16:37

hint [1/9]

## :construction: After this are possible spoiler hints.

Make sure you've tried to hard to solve it yourself before proceeding. :construction:

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Oleg Malinovsky
@Cerberussian
Dec 26 2015 16:38
hint
CamperBot
@camperbot
Dec 26 2015 16:38

hint [2/9]

Explanation:

You have to check if the string you get as an input is a palindrome and return true if it is, and false otherwise.

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Oleg Malinovsky
@Cerberussian
Dec 26 2015 16:38
bf chunky monkey
CamperBot
@camperbot
Dec 26 2015 16:38

:fire:Bonfire: Chunky Monkey :link:

function chunk(arr, size) {
  // Break it up.
  return arr;
}

chunk(['a', 'b', 'c', 'd'], 2);

Write a function that splits an array (first argument) into groups the length of size (second argument) and returns them as a multidimensional array.

more info:  bf details | bf links | hint

Oleg Malinovsky
@Cerberussian
Dec 26 2015 16:38
bf details
CamperBot
@camperbot
Dec 26 2015 16:38

:fire:Bonfire: Check for Palindromes :link:

function palindrome(str) {
  // Good luck!
  return true;
}



palindrome("eye");
Return true if the given string is a palindrome. Otherwise, return false.
A palindrome is a word or sentence that's spelled the same way both forward and backward, ignoring punctuation, case, and spacing.
You'll need to remove punctuation and turn everything lower case in order to check for palindromes.
We'll pass strings with varying formats, such as "racecar", "RaceCar", and "race CAR" among others.
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.
links:
Oleg Malinovsky
@Cerberussian
Dec 26 2015 16:39
bf chunky monkey
CamperBot
@camperbot
Dec 26 2015 16:39
Sorry, can't find a bonfire called details chunky monkey. [ Check the map? ]
Oleg Malinovsky
@Cerberussian
Dec 26 2015 16:39
bf chunky monkey details
CamperBot
@camperbot
Dec 26 2015 16:39
Sorry, can't find a bonfire called chunky monkey details. [ Check the map? ]
Oleg Malinovsky
@Cerberussian
Dec 26 2015 16:40
bf chunky monkey
CamperBot
@camperbot
Dec 26 2015 16:40

:fire:Bonfire: Chunky Monkey :link:

function chunk(arr, size) {
  // Break it up.
  return arr;
}

chunk(['a', 'b', 'c', 'd'], 2);

Write a function that splits an array (first argument) into groups the length of size (second argument) and returns them as a multidimensional array.

more info:  bf details | bf links | hint

Oleg Malinovsky
@Cerberussian
Dec 26 2015 16:40
hint
CamperBot
@camperbot
Dec 26 2015 16:40

hint [3/9]

Hint: 1

You may use regular expressions (RegExp) to remove unwanted characters from the string.

type hint for next hint :pencil: [Contribute at the FCC Wiki]