Skip to content

Commit 541ea54

Browse files
docs: add docs for main
1 parent d9c63ed commit 541ea54

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dynamic_programming/Unbounded_0_1_Knapsack.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ static void tests() {
127127

128128
}
129129

130+
/**
131+
* @brief main function
132+
* @return 0 on successful exit
133+
*/
130134
int main() {
131135
tests(); // Run test cases to validate implementation
132136
return 0;

0 commit comments

Comments
 (0)