randomforestwhitaker / questions

questions
0 stars 0 forks source link

questions

03.30.2018

[1] / Given a list of numbers, find the average of all non-negative numbers that appear before '-999'. '-999' may not appear in the list, in which case return the average of all non-negative numbers. /

04.13.2018

[2] / Given an int and a list of elements, return the list of elements based on the following conditions: positive int: take x elements from the head and move them to the tail of the list negative int: take x elements from the tail and move them to the head of the list /