Solution :
check_palindrome
lower_
_string
string
_lower()
Let stack = new Stack()
Let queue = new Queue();
for each character c in lower_case_string:
stack.push(c);
queue.enqueue(c);
let isPalindrome = true;
while queue is not empty {
if (queue.remove().equals(stack.pop())) {
continue;
} else {
isPalindrome=false;
break while loop;
}
}
return isPalindrome
Input = aabb
output = true
input =abcd
output = false
Answer:
i can't read a single word on there i'll come back to it if you can zoom in a little
Explanation:
Direct Subsidized Loans I believe
Sometimes your mean to people (dog peeing on fire hydrant) sometimes people are mean to you (being peed on)
Where all "the following" i can help you but you said which of the folllowing and ther no picture or anything?