Anyfin interview question

Logic test and pattern test