-
Make sure when looping, always start from 0 and always keep the condition of your loop less than the length of array for example: for(int i= 0; i< str.Lenght; i++){ } as we know that the arrays start at index 0, and the string array size is always greater than the last index of the element
-
Take care of case insensitivity, read problems carefully and decide on the case insensitivity accordingly
-
Always plan your solution according to the allowed characters, else you might end up replacing a character with a character leaving a bug
Created
September 25, 2021 22:12
-
-
Save ZeeshanAdilButt/eefd0ec7b9cff3b14d015282a31f11a7 to your computer and use it in GitHub Desktop.
a suggestion list to help you save from common errors/bug in your problems
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment