...

Handle Edge Cases in Programming

As the name suggests, look for edges cases, let us understand with an example Example1: find max number in an array of natural numbers, array: [2, 1, 4, 6, 7] First Solution: Above code will crash when i = len(array) because array index will range from 0 to len(array) -1 (not len(array)) Correct solution Example … Read more Handle Edge Cases in Programming

Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.