computational cost
                  
                  
                  O(N²)
                  
                  
                  and
                  
                  
                   O(1)
                  
                  
                  in memory? (with dynamic programmation)
                  
                  
                
Actually, this is what I have done: https://pastebin.com/s9cN1rgj
Обсуждают сегодня