This problem asks you to write a function that takes in an array of integers and returns the sum of all the elements in the array.

224

Mar 14
This problem asks you to find the maximum average value in an array of integers. You are given the length of the subarray (k) and must output the maximum average value.

223

Mar 13
Given an array of integers, this problem seeks to find the first missing positive integer, in other words, the lowest positive integer that does not exist in the array. The array can contain dupl icates and negative numbers as well.

232

Mar 13
Given an array of integers, return a new array such that each element at index i of the new array is the product of all the numbers in the original array except the one at i.

214

Mar 13
Given an array of n integers, this code problem finds the contiguous subarray of given length k that has the maximum average value. The output is the maximum average value.

236

Mar 13
This function checks if one string is a permutation of another.

186

Mar 13
Find the contiguous subarray of given length k that has the maximum average value in an array of n integers. Output the maximum average value.

186

Mar 13
Write a function that returns the length of the longest palindromic substring in a given string of characters.

225

Mar 12