## Algorithms

##### Find the Length of the Longest Increasing Subsequence in an Array

Given an array of integers, this problem asks you to find the length of the longest increasing subsequence in the array. For example, given the array [10,9,2,5 ,3,7,101,18], the longest increasing subsequence is [2,3,7,101], so the answer would be 4.

190
Mar 12
##### Maximum Sum of Contiguous Subarray

Given an array of integers, the maximum sum of any contiguous subarray of the array can be found by summing the subarray. In the example given, the maximum sum is 137, obtained by summing the subarray [42, 14, -5, 86].

183
Mar 12
##### Sum of Array Elements

Given an array of integers, this function will return the sum of the elements in the array.

175
Mar 12
##### Is a given string a permutation of a palindrome?

This problem asks whether a given string is a permutation of a palindrome. A palindrome is a word or phrase that is the same forwards and backwards, while a permutation is a rearrangement of letters. The problem can be solved by checking whether the string has an even number of each letter (excluding letters with an even number of occurrences) and at most one letter with an odd number of occurrences.

173
Mar 12
##### Find the sum of the elements in an array of integers.

To find the sum of the elements in an array of integers, simply add all the numbers together. In the example given, the sum would be 1 + 2 + 3 + 4, or 10.

177
Mar 11
##### Is t an anagram of s?

This problem asks whether one string (t) is an anagram of another string (s). An anagram is a word, phrase, or name formed by rearranging the letters of another , such as cinema, formed from iceman.

203
Mar 11
##### Find the Maximum Sum of a Contiguous Subarray of integers

Given an array of n integers, this problem seeks to find the maximum sum of any contiguous subarray within the array. For example, given the array [2, -1, 3, 4, -5], the maximum sum would be 7, since the contiguous subarray [3, 4] has the largest sum.

184
Mar 11
##### Array Sum

The "Array Sum" problem asks you to find the sum of all the integers in an array. The input is an array of integers, and the output is the sum of all the integers in the array.

175
Mar 10