Ad
  • Default User Avatar

    i am not sure of the other solutions, but checking if the granny has any friend or only 1 friend is mandatory!
    A great programmer checks for pitfalls, even if they are not covered by tests!
    '+ types for input variables
    '+ type for return value