Dynamic Method Solution - Upwork Rank