HackerRank, Subarray Division, JavaScript Link to all solutions and recommended software: https://docs.google.com/document/d/1yIDJZtAiz39mv6T7mhZ0i5m1q3XpS3dIi4YDto440R4/edit?usp=sharing
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.