Tip 1 : Have some projects.
Tip 2 : Practice coding problems on Coding ninjas.
Tip 1 : Keep it short.
Tip 2 : Do not put false things.
Timing was 10 AM. Platform is very good.
Let there be 6 children and 3 gifts. If the position of the children is [3, 6, 7, 10, 17, 25], the minimum distance Santa has to walk is 4m which can be achieved in many ways, one of them being Santa landing at the 1st child and walking till the 3rd child (distance = (6m - 3m) + (7m - 6m) = 4m).
'S' = "{}()".
There is always an opening brace before a closing brace i.e. '{' before '}', '(' before ').
So the 'S' is Balanced.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which of the following ensures referential integrity in SQL?