Concept: A number is completely divisible by 5 only if it has 0 or 5 in it's unit place.
Largest 4 digit number is 9999 but it is not divisible by 5.
Hence, we will look for numbers less than 9999, we find that 9995 is the largest 4 digit number divisible by 5.
Smallest 4 digit number is 1000 and it is divisible by 5.