10x Genomics interview question

Some basic factorial related problem