Fortinet interview question

Intro. muti-thread coding quesiton. Palindrome character question