Ad
  • Default User Avatar

    Log
    [ 16, 'Circle', 'Victoria', 'Hammersmith & City', 'Bakerloo' ]
    Expected: '£0.00', instead got: '£11.10'
    Log
    [ 39, 'Piccadilly' ]
    Expected: '£0.00', instead got: '£3.90'
    Log
    [ 'Circle', 167, 'Metropolitan', 'Jubilee', 'District' ]
    Expected: '£0.00', instead got: '£11.10'
    Log
    [ 139, 130, 169, 'District', 'Bakerloo' ]
    Expected: '£0.00', instead got: '£7.80'

  • Default User Avatar

    Nice structure, but the isPrime is too costly. Rethink the ending condition.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution