Ad
  • Custom User Avatar

    Yeah, I did this originally as well... I think the tests should probably be changed to accept a list of tuples.

  • Custom User Avatar

    i think you missed it
    "Your function will return a list of nodes"
    i've done the same error too)

  • Custom User Avatar

    Hi I'm confused with this error message.

    Your path is not the shortest path. Try again!:

    [(0,0), (0,1), (0,2), (0,3), (1,3), (2,3), (2,2), (2,1), (3,1), (4,1), (4,2), (4,3), (4,4)] should equal

    [(0,0), (0,1), (0,2), (0,3), (1,3), (2,3), (2,2), (2,1), (3,1), (4,1), (4,2), (4,3), (4,4)]

    What went wrong with my output?

  • Custom User Avatar

    Did you modify the input? Because the pasted one is not the original test data.

  • Custom User Avatar

    If it would start at 12:15, then a 90-minute meeting would take until 13:45, which does not fit into A's schedule.

  • Custom User Avatar

    Hi,
    A | 09:00 - 11:30, 13:30 - 16:00, 16:00 - 17:30, 17:45 - 19:00
    B | 09:15 - 12:00, 14:00 - 16:30, 17:00 - 17:30
    C | 11:30 - 12:15, 15:00 - 16:30, 17:45 - 19:00

    I have been wondering why this case should return None if we want to find the available 90-minute meeting.
    Isn't 12:15 the time we are looking for?

  • Custom User Avatar

    hi,

    Many thanks :)

    i just noticed that I misread the prompt!!
    It was case-insensitive

  • Custom User Avatar

    a appears twice and 1 appears twice, there you have why 2 (one for a and one for 1).

  • Custom User Avatar

    Hi,

    "aA11" -> 2 # 'a' and '1'

    why 2? Isn't it supposed to count ONLY those that appear more than once?