Floyd's problems

2 Floyd's DSA practice problems on CampusCode, each with statement, examples and constraints.