Tip 1 : Learn from making own handwriting notes
Tip 2 : Learn from basics
Tip 3 : Do practical things specially OOPS concepts, and learn how they works
Tip 1 : Give relevant information.
Tip 2 : Must have at least 2 projects



The given array is sorted in non-decreasing order.
Tip 1 : Read and understand question
Tip 2 : Break problem into small problems and join it



If the given graph is :

Then the edge between 0 and 4 is the bridge because if the edge between 0 and 4 is removed, then there will be no path left to reach from 0 to 4.and makes the graph disconnected, and increases the number of connected components.
There are no self-loops(an edge connecting the vertex to itself) in the given graph.
There are no parallel edges i.e no two vertices are directly connected by more than 1 edge.
Tip 1 : First solve on copy by hands-on
Tip 2 : Make relevant logic


You need to reverse the string in O(N) time complexity.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?