Tip 1 : Learn the concepts carefully
Tip 2 : Do at least 20 coding questions every day
Tip 3 : Improve conversation skills
Tip 1 : Mention your programming skills carefully and do not put false things
Tip 2 : Mention the project above that you are best at



1. Charge: Your torch's battery level will increase by one unit.
2. Glow: You will cover one mile of your journey and if you had not walked in the previous hour, your torch's battery level would remain the same; otherwise, it will decrease by one unit more than it had decreased in the previous hour.
Let 'M' = 2, 'B' = 0.
We do the following moves:
"Glow", Battery level decreases by '0', we walk one mile towards the city.
"Charge", Battery level increases by '1'.
"Glow", Battery level decreases by '0', we walk one more mile towards the city.
Thus, we reached the city in '3' hours with a battery level of '1'.
Therefore the answer is '3 1'.


1 ‘X’: Enqueue element ‘X’ into the end of the nth queue. Returns true if the element is enqueued, otherwise false.
2: Dequeue the element at the front of the nth queue. Returns -1 if the queue is empty, otherwise, returns the dequeued element.
Enqueue means adding an element to the end of the queue, while Dequeue means removing the element from the front of the queue.
Given ‘N’ = 2
On Day 1 = 1
On Day 2 = 2
Total Amount = 1 + 2 = 3.
Therefore the answer is 3.
What are your weaknesses and how you can get over them?
What is your biggest achievement?
Why should we hire you?

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
To make an AI less repetitive in a long paragraph, you should increase: