MAXIMUM LENGTH UNIQUE CHARACTER SUBSTRING


please check my code, what is problem in this?

hello @CODER_JATIN

check now->

a) u need to include cstring becuase u r using c type string
b) we were doing cur+=cur in place of cur+=1