Solutions for Designed Keyboard

    • @AaronSkake
    • @Daniel, submitted in Python 3, achived 100% score
    def solve(N): 
        if N<= 6: 
            return N 
        maxi = 0
        for b in range(N-3, 0, -1): 
            curr =(N-b-1)*solve(b) 
            if curr>maxi: 
                maxi = curr 
        return maxi