charts below shows the different complexity time