Description: Returns the count of how many two number pairs will equal the sum of a given number.

#array #medium Likes 0 Comments 0Description: Given an array of integers, which represent containers of water with various water levels, and a number of empty bottles with a max-capacity, what ...

#Greedy #medium Likes 0 Comments 0Description: How to make the most of your remaining years? This example of a "Greedy Algorithm" will tell you just that. Given an array (A) of integers that rep...

#Greedy #easy Likes 0 Comments 0Description: Takes in integer and array, and removes all instances of that integer from array.

#array #easy Likes 0 Comments 0Description: Takes a string and returns the number of vowels ('a', 'e', 'i', 'o', 'u').

#string #easy Likes 0 Comments 0Description: Returns the count of how many times an integer N appears in an array.

#array #easy Likes 0 Comments 0Description: I like this algorithm. It will take an array of numbers and randomize the elements with one execution. I believe it will work with any type of elem...

#array #easy Likes 0 Comments 0Description: Uses a nested for-loop to remove duplicate values from the array, but only if duplicates exist.

#Array #medium Likes 2 Comments 0Description: Takes an array of arrays (and arrays) and flattens them into one master array.

#array #medium Likes 2 Comments 1Description: Takes a number and adds the individual digits together. It continues to do this until the sum of the digits is a single digit number. E.g. 19 is 1+...

#string #medium Likes 3 Comments 0Description: Takes an array of numbers and adds one to the number the array represents. [1,2,3] = 123 + 1. So the result will be [1,2,4]

#array #medium Likes 3 Comments 5