Loading...
Engaged employer
Number pyramid (similar to binary tree) find largest sum - use triangular numbers
Anonymous
Triangular number to index, then loop bottom-up saving the max sum of each subtree
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.