Remove K digits

plzz check the code i am unablr to design my code to handle some corner cases.