hello! i'm trying to check if a string is a palindrone. what i'm trying to do is put s into a and check the front and the back of the deque to see if it's a palindrone but it doesn't like my insert??
The value_type of deque is string. On line 14 you provide iterators of type char. string cannot be constructed with a char only. So why not change line 9 to deque<char> a?