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.

238

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.

236

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.

247

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.

230

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.

246

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

200

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.

200

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

239

Mar 12