From b1a8da69a87cd45e9db0cc340730e4a5e3b36201 Mon Sep 17 00:00:00 2001 From: David Leal Date: Fri, 9 Jun 2023 10:51:37 -0600 Subject: [PATCH] fix: missing `;` in `matrix_chain_order.c` --- dynamic_programming/matrix_chain_order.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamic_programming/matrix_chain_order.c b/dynamic_programming/matrix_chain_order.c index 76c29bf1..d0ee8cac 100644 --- a/dynamic_programming/matrix_chain_order.c +++ b/dynamic_programming/matrix_chain_order.c @@ -55,7 +55,7 @@ int matrixChainOrder(int l,const int *p, int *s) { void printSolution(int l,int *s,int i,int j) { if(i == j) { printf("A%d",i); - return + return; } putchar('('); printSolution(l,s,i,s[i * l + j]);