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
What do you mean by opening randomly?
Answer:
These are the best and most effective ways of using social media to get a job:
1.Share an online portfolio on social media.
2.Actively search for jobs on LinkedIn
3.Edit the privacy settings on your social media.
4.Engage in social media debates
5.Show your personality online.
Answer:
The answer to this question is the option "A".
Explanation:
In this question, the answer is Increase in complexity because, In computer science, the computerized or simply complexity is an algorithm. In this algorithm, the number of the resource is required for moving it (a quality separate to “complexity” in a conventional reason). So in this question the answer is option A that is Increase in complexity.