Try this exercise. Click the correct answer from the options.
Which of these could be a valid brute force solution?
Click the option that best answers the question.
- Recursively split the array in half
- Iterate through and sum
- Try every subarray sum
- Use a linked list