IdoS | Computer Science
❔ recursive calls result in stackoverflow
ok sorry for the misunderstood. Well the program eventually checks for score of 4 when there is a sequence of 4 I can be sure there is the same coin one after another. recursively was just for an elegant solution because sequentially would have too much if statements and different ways of checking.
31 replies