Tip 1 : Be thorough with what you have on your resume
Tip 2 : Be efficient with problem solving skills
Tip 1 : Highlight what you know best
Tip 2 : Be thorough with what you have mentioned.



You can’t sell without buying first.
For the given array [ 2, 100, 150, 120],
The maximum profit can be achieved by buying the stock at minute 0 when its price is Rs. 2 and selling it at minute 2 when its price is Rs. 150.
So, the output will be 148.



‘?’ – matches any single character
‘*’ – Matches any sequence of characters(sequence can be of length 0 or more)



1. Horizontally as 1x2 tile
2. Vertically as 2x1 tile
The number of ways might be large so output your answer modulo 10^9 + 7.




class graphNode
{
public:
int data;
vector<graphNode*> neighbours;
}
1. Nodes are numbered from 1 to N.
2. Your solution will run on multiple test cases. If you are using global variables make sure to clear them.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?