Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
if we use the previous pseudo code, instead of printing Z (0,1,-1,2,-2,...), we print 3 different 0 values at the beginning (0,0,-0,1,-1,2,-2,...). Since we already print 0 before thhe loop and we don't want to print -0, the increment of i has to be in the beginning of the loop
- Loading branch information