Data

Return the sum of elements in an array.

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.

195
Mar 14
Find the names of all customers who have placed an order for at least one...

This technical problem involves writing a SQL query to find the names of customers who have placed an order for at least one product in either category 1 or category 2. The example output shows the expected result of the query.

206
Mar 13
Find maximum average value in array of integers

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.

190
Mar 13
Find the First Missing Positive Integer

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.

201
Mar 13
Product of array elements except the one at index i

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.

184
Mar 13
Find the maximum average value in a given array of integers.

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.

216
Mar 13
Checking for Permutations

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

160
Mar 13
Maximum average value of contiguous subarray of given length

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.

160
Mar 13