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?
Repost
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...
-
54:38
LFA TV
1 day agoThe Resistance Is Gone | Trumpet Daily 12.26.24 7PM EST
45.3K6 -
58:14
theDaily302
16 hours agoThe Daily 302- Tim Ballard
47.8K2 -
13:22
Stephen Gardner
10 hours ago🔥You'll NEVER Believe what Trump wants NOW!!
97.5K228 -
54:56
Digital Social Hour
1 day ago $9.79 earnedDOGE, Deep State, Drones & Charlie Kirk | Donald Trump Jr.
53.3K4 -
DVR
The Trish Regan Show
11 hours agoTrump‘s FCC Targets Disney CEO Bob Iger Over ABC News Alleged Misconduct
58.9K36 -
1:48:19
The Quartering
12 hours agoElon Calls White People Dumb, Vivek Calls American's Lazy & Why Modern Christmas Movies Suck!
141K112 -
2:08:42
The Dilley Show
13 hours ago $35.84 earnedH1B Visa Debate, Culture and More! w/Author Brenden Dilley 12/26/2024
120K40 -
4:55:59
LumpyPotatoX2
15 hours agoThirsty Thursday on BOX Day - #RumbleGaming
112K5 -
1:04:52
Geeks + Gamers
14 hours agoDisney RATIO'D on Christmas Day | Mufasa Embarrassed By Sonic 3
83.1K11 -
8:27:46
Sm0k3m
18 hours agoRumblers Assemble
52.7K2