top of page
PROGRAMMING CHALLENGES
Palindrome Checker
Difficulty:
3 Hard
2.4 Queues
Topic:
Write a program that checks if a word is a palindrome using both a stack and a queue. The stack stores characters for reverse comparison, and the queue stores characters in original order. Implement this in pseudocode or Python.
Compare characters from the stack and the queue. If they match for all characters, the word is a palindrome.
Need help with your programming skills?
If you need more help than just independent practise, then we're here for you. Book a 1:1 with us and we will be able to guide you to becoming a proficient programmer who can tackle any of the challenges an exam board can throw at you.
1 hr
50 British pounds1 hr
55 British pounds
bottom of page