Tip 1 : Don't take gaps while preparing for DSA, do it consistently
Tip 2 : Learn oops concepts, this is very important
Tip 3 : practice question from online platforms
Tip 4 : Go through previous interview experices of company you are going to get interviewed
Tip 1 : Try to place the keywords present in job profile for the application
Tip 2 : keep it simple and highlight the words about technologies used and skill set



1. The value ‘0’ represents an empty house,
2. The value ‘1’ represents a non-infected person,
3. The value ‘2’ represents an infected person.



The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Can you solve this problem in O(N) time and O(1) space complexity?
step 1 : created sample linked list using object of node class containing data, and the next pionter
step 2 : paassed the root node to the function I wrote to reverese using recursion method
Tell me about yourself.
What are your hobbies?
Who is your role model?

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?