Easy · Streams & I/O
Check Palindrome in Stream
Given a stream of ASCII characters delivered one at a time through letter(c), return whether the complete stream reads the same forwards and backwards, comparing characters exactly.
Examples
Example 1
{
"chars": "abccba"
}Output: true
Example 2
{
"chars": "abc"
}Output: false
Rebuild it in the studio
Core interview problems are free with a full runner and lessons; Pro opens the complete library.