Coding Bat Solutions - Arrays 2 - sum67 (Solution 1)

preview_player
Показать описание
This is a solution to an arrays 2 coding bat problem
Рекомендации по теме
Комментарии
Автор

you changed my point of view completely man. thank you. I'd been struggling with this problem without using a bool for an hour long

tayfun
Автор

Im not sure if I'm happy because my train of thought was the same as yours, or frustrated that I didn't put the 7 flag in the right spot.. I guess a little of both. I like how you explain the thinking and hit the compile button and explain how we reassess the problem. great teacher.

BJ-vqvr
Автор

Hey, can someone explain why the " if (nums[i]==7) flag = true; " statement is at the end? I don't understand the logic

filippians