Tip 1 : Make notes of imp topic that you studied for revision purposes.
Tip 2 : Solve questions topic that you studied from coding platforms and give tests.
Tip 1 : Single page not more than that.
Tip 2 : Attach the link to various coding competitions in that you have participated.
The given linked list is 1 -> 2 -> 3 -> 2-> 1-> NULL.
It is a palindrome linked list because the given linked list has the same order of elements when traversed forwards and backward.
Can you solve the problem in O(N) time complexity and O(1) space complexity iteratively?
Check the linked list is palindrome or not by using simple palindrome method
The width of each bar is the same and is equal to 1.
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].
Output: 10
Explanation: Refer to the image for better comprehension:
You don't need to print anything. It has already been taken care of. Just implement the given function.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which keyword is used for inheritance?