Pergunta de entrevista da empresa Riverlane

What is the time complexity of the bin-packing-like algorithm I've developed.