What wrong in my code three cast case is failed

hello @dineshjani


here it should be <= i-k

also here


use >=