Analog Devices interview question

DSA strings and SQL window functions