Rain Instant Pay interview question

Problems in the code challenge

Interview Answer

Anonymous

9 May 2022

First: Find the smallest positive integer that does not occur in a given sequence Second: Given a tree, calculate number of its subtrees whose vertex labels form a continuous range of integers. Third: SQL group data from multiple tables