Palindrome Ancestor Path Queries
Problem overview from a real Uber interview:
Uber question: Given a tree of up to 10^5 lowercase letters and node queries, count ancestors where the sequence has at most one odd frequency.
Check more interview questions and experiences about Uber
