Time and space complexity must for all questions
Start from brute force and go to optimized solution.
All edge cases are to be covered in code?
Think out loud all the time (so that even when questions are easy they will catch your thinking with greater importance)
If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.