Tip 1 : Have good projects
Tip 2 : Have good internships
Tip 3 : Clear all basic
Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume.



Assume that the Indexing for the linked list always starts from 0.
If the position is greater than or equal to the length of the linked list, you should return the same linked list without any change.
The following images depict how the deletion has been performed.





The diameter of a binary tree is the length of the longest path between any two end nodes in a tree.
The number of edges between two nodes represents the length of the path between them.
Input: Consider the given binary tree:

Output: 6
Explanation:
Nodes in the diameter are highlighted. The length of the diameter, i.e., the path length, is 6.
I used BFS.

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