KPMG Interview Question

How does random forest algorithm work