Premium Only Content
This video is only available to Rumble Premium subscribers. Subscribe to
enjoy exclusive content and ad-free viewing.

Does it work if there are 2 people in the room?
2 years ago
10.2K
Let's see.Does it work if there are 2 people in the room?In line 1, we initialize n to zero.For that one pair of people, we then increment n by 2.And so, by this algorithm's end, n is 2,which indeed matches the number of people in the room.Suppose next that there are zero people in the room.In line 1, we initialize n to zero.As before, line 3 doesn't execute at all since there aren't any pairs of people in the room,and so, n remains zero,which indeed matches the number of people in the room.
Loading comments...
-
LIVE
The Mike Schwartz Show
1 hour agoTHE MIKE SCHWARTZ SHOW with DR. MICHAEL J SCHWARTZ 06-10-2025
105 watching -
1:53:25
Chicks On The Right
4 hours agoRiots continue, Greta deported, DNC chair is total soyboy, and Portnoy's height
24.6K12 -
The Bubba Army
1 day agoYou Spit, We Hit: LA War Zone - Bubba the Love Sponge® Show | 6/10/25
52.9K18 -
2:02:02
AP4Liberty
2 hours ago $0.40 earnedTrump Sends US Marines To LA Over Immigration Riots
13.9K8 -
21:25
James Klüg
16 hours agoDo Democrats Want To ABOLISH ICE?
6.69K7 -
1:44:03
Bitcoin on Rumble
2 hours ago $0.01 earnedBitcoin Wakes US up from LA LA Land
11K4 -
LIVE
TwinGatz
2 hours ago🔴LIVE - Rainbow Six: Siege X Launch | Pack Watch | Rumble Takeover
53 watching -
1:25:22
Kim Iversen
17 hours agoThe Real Target Of The LA Protests: YOUR FREEDOMS
82.8K212 -
9:00
Adam Does Movies
15 hours ago $0.22 earnedBallerina Is Flopping Pretty Hard In Theaters
25.7K10 -
2:04:58
BEK TV
16 hours agoTrent Loos in the Morning 6/10/2025
20.4K