AKUNA CAPITAL Interview Question

how to use rejection sampling?