Skip to content

Instantly share code, notes, and snippets.

@cherscarlett
Created March 6, 2019 03:20
Show Gist options
  • Save cherscarlett/a4b4fabe06a360ce9ca0481ae10f315b to your computer and use it in GitHub Desktop.
Save cherscarlett/a4b4fabe06a360ce9ca0481ae10f315b to your computer and use it in GitHub Desktop.
// pseudocode
// create a new hash map for holding each language and a running sum of its size
// loop through each repository
////// loop through each language
///////// add it to its matching entry and add the size to the running sum
///////// add the size to the running sum of all languages
// return languages and total sum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment