fix: missing `;` in `matrix_chain_order.c`

This commit is contained in:
David Leal 2023-06-09 10:51:37 -06:00 committed by GitHub
parent e278f5d74f
commit b1a8da69a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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]);