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?](https://1a-1791.com/video/s8/6/_/Q/-/Q/_Q-Qf.OvCc.jpg)
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 Shannon Joy Show
4 hours ago🔥🔥How’d America End up UPSIDE SIDE DOWN in China? And What Can We Do About it?🔥🔥
1,402 watching -
DVR
Bannons War Room
18 hours agoWarRoom Live
219K43 -
2:58:51
Wendy Bell Radio
8 hours agoCHECKMATE
87.6K65 -
56:32
VSiNLive
2 hours ago $1.41 earnedA Numbers Game with Gill Alexander | Hour 1
30.8K -
2:06:29
Matt Kohrs
12 hours agoPumping To New Highs, Memecoin Mania & The Week Ahead || The MK Show
43.4K2 -
42:05
BonginoReport
6 hours agoPothole Pete Blames Plane Crash in Canada on Trump (Ep.142) - 02/18/2025
108K202 -
1:13:40
Graham Allen
5 hours agoDOGE Is Going After The IRS!! Mass Firing Soon!! + ANOTHER Plane Crash! We Are Not Safe…
86K38 -
56:28
Randi Hipper
3 hours agoArgentina's Meme Coin Disaster: Inside the LIBRA Crash
38.1K2 -
DVR
Chicks On The Right
6 hours agoCrazy plane crash, crazy lib protests, and Deborah Birx can suck it
72.4K6 -
1:04:59
2 MIKES LIVE
3 hours agoTHE MIKE SCHWARTZ SHOW with DR. MICHAEL J SCHWARTZ 02-18-2025
21.3K3