Skip to content

Instantly share code, notes, and snippets.

@cherscarlett
Last active March 4, 2019 19:51
Show Gist options
  • Save cherscarlett/07523a41b888060061d0db3e4d02003d to your computer and use it in GitHub Desktop.
Save cherscarlett/07523a41b888060061d0db3e4d02003d to your computer and use it in GitHub Desktop.
// pseudocode
// create a new array for holding each language and a running sum of its size
// loop through each repository
// loop through each language, within each repository
// for each language, add it to its matching entry and add the size to the running sum
// get the sum of all of the sums of languages
// return the array and the total sum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment