Example issue: bare0 assignment 3
Reviewing your code we found the following issues.
Regarding assignment 3
// 3. change += opertions to wrapping_add // place a breakpoint at line 22 // load and run the progam, what happens // ** XXX ** // // now continue exectution, what happens
** XXX ** seems wrong, could it be that you accidentally replaced
wrapping_add, by a
Regarding assignment 6*, we have an alternative solution, have a look at our repo XYZ. Comparing the solutions, yours is indeed more efficient. However, you need to check the condition YYY==ZZZ and returning with a TTT in case of a UUU (else you may run into a NNN).