Skip to content

Instantly share code, notes, and snippets.

View otherpirate's full-sized avatar

Mauro Murari otherpirate

View GitHub Profile
#
# Complete the 'countTeams' function below.
#
# The function is expected to return an INTEGER.
# The function accepts following parameters:
# 1. INTEGER_ARRAY skills
# 2. INTEGER k
# 3. INTEGER l
# 4. INTEGER r
#
#
# Complete the 'teamFormation' function below.
#
# The function is expected to return a LONG_INTEGER.
# The function accepts following parameters:
# 1. INTEGER_ARRAY score
# 2. INTEGER team
# 3. INTEGER m
#