9 months agoJavaScript algorithms find starting and ending indices of consecutively repeated chars from a strinTechSphere