Find an integer array A of size less than 20 with this property: We should be able to get any number from 1 to 100 by adding some consecutive elements in A.
Toy example: If A=[1,3,2] then we can get any number from 1 to 6.
#exportoberScreenshot
1442813370768388101
Screenshot
URLs
Follower Count
4390
TweetURL
https://twitter.com/algopuzzles/status/1442813370768388101
User
algopuzzles
Created At
2021-09-28T11:28:08.000Z