Ad
  • Default User Avatar

    Could someone explain how the line, "res[is] = '0' + digits[id++];" is working? I don't understand why the '0' is necessary. Thanks!

  • Default User Avatar

    I did something very similar. Only difference is I mapped all 4 of "T", "A", "C", and "G" to different characters before doing another 4 "replaceAll()"s. So this runs slightly faster than mine. Good job!