Sum of Elements Between Two Numbers

Asked at Meta · Coding & Leetcode-style Questions · Difficulty: Easy

Given an unsorted integer array and two integers **S** and **E**, calculate the sum of all integers in the array that are greater than or equal to **S** and less than or equal to **E**.

Loading the problem…