KPMG Interview Question

picking the next random shape in a sequence