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?
3 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...
-
8:47
DropItLikeItsScott
15 hours ago $0.89 earnedDid HI-POINT Just Create The Next Best AR? Hi-Point HP15 AR-15 Pistol
4K1 -
39:19
The Heidi St. John Podcast
3 days agoFirst Fan Mail Friday: From the White House to Your Questions
4.17K5 -
LIVE
BEK TV
23 hours agoTrent Loos in the Morning - 9/23/2025
168 watching -
24:12
Michael Feyrer Jr
23 hours agoWe Stream to TikTok! How we did it! Week 2 #Stream10k
3.89K2 -
35:33
Anthony Rogers
17 hours agoBourbon and Beyond (2025)
4.9K1 -
33:30
The Bryce Eddy Show
4 days ago $0.18 earnedMonty Bennett: HERO Model to Fight Crime
12.3K3 -
0:41
Living Your Wellness Life
3 days agoThe Prime-Years Transition
6.39K -
LIVE
The Bubba Army
22 hours agoJimmy Kimmel's Back - Bubba the Love Sponge® Show | 9/23/25
1,492 watching -
34:15
Actual Justice Warrior
2 days agoIlhan Omar CHEERS Charlie Kirk's Murder
53.8K81 -
12:13
itsSeanDaniel
1 day agoMAGA Senator STANDS UP for Charlie Kirk and Free Speech
37.9K22