Use of Multi-Language (Coding): Palindromic Substrings Score Test
This question requires the attendee to write a function that takes in a string s and calculates a score based on the presence of palindromes of length 4 and 5 in the string. The function needs to check for palindromes that are continuous and non-circular, meaning they cannot wrap around the end of the string. The score is calculated by adding 5 to the score for each palindrome of length 4 and 10 for each palindrome of length 5.
Chatgpt
Perplexity
Gemini
Grok
Claude







