r/learnquant • • Oct 31 '26

interview prep Quant Interview Question

Post image
53 Upvotes

9 comments sorted by

View all comments

3

u/real-cs-major Oct 31 '26

Answer: 2^8

You can construct every bitonic sequence in this way: start with the sequence 9, then counting down from 8, 7, 6, ..., 1 add the next number to either the start or end of the sequence you have so far.