they used principles of dynamic programming hagamijwe gukura urubyiruko mu bibi rukajyanwa mu byiza ibitabo bye ku gihe kigeze ku cyumweru kimwe umusozi ntushobora kugereranywa