Ad
  • Custom User Avatar
  • Custom User Avatar

    No, you are not. Expressions can be arbitrarily complex. For example, one of fixed tests is "2 + 3 * 4 / 3 - 6 / 3 * 3 + 8".

  • Default User Avatar

    Hi! Quick question regarding the instructions. Only one kind of operation will appear by string given? That is, for example, I will never get two multiplication symbols (*) withing the same string. Am I correct?

  • Default User Avatar

    Thank you, it was my mistake.

  • Custom User Avatar

    Your job is to count the 'rings' in each letter and divide the total number by 2.

    4 / 2 is 2 and Bronze is ok.

  • Default User Avatar

    test olympicRing('wHjMudLwtoPGocnJ'), 'Bronze!'); is wrong

    it has [ 'd', 'o', 'P', 'o' ] as characters with rings. The answer should be gold