Ad
  • Custom User Avatar

    What's your Python visualizer of choice?

  • Custom User Avatar

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

  • Custom User Avatar

    The values 0, [], "", False and None are falsy in a boolean expression, in this case if new_plan means len(new_plan) != 0.

  • Default User Avatar

    Find the area of the shape, seems simple enough.

  • Custom User Avatar

    OMG the desciription to this is worse than some trello tickets I see.

  • Custom User Avatar

    For example, ["Hey", "Buy", "These", "Shoes", "Today"] with k = 2

    What 2 consecutive concatenated elements from the array form the longest string? So the possible combinations of 2 consecutive concatenated elements would be "HeyBuy", "BuyThese", "TheseShoes" & "ShoesToday". You should return "TheseShoes". If there are multiple combinations with equal length, return the first that was found. Which is why "ShoesToday" was ignored.

  • Custom User Avatar

    check rantenor's comment...

    "Given 2 arguments, an array and an integer (represented by k), your task is to return a string that represents the very first longest block of consecutive elements in the array. The amount of elements permitted in the block is represented by k.
    if n being the length of the array; if n = 0 or k > n or k <= 0 return ""."