AKUNA CAPITAL interview question

how to use rejection sampling?