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...
-
2:08:19
Tactical Advisor
12 hours agoThe Vault Room Podcast 006 | Farwell 2024 New Plans for 2025
152K11 -
34:12
inspirePlay
1 day ago $4.64 earned🏆 The Grid Championship 2024 – Cass Meyer vs. Kelly Rudney | Epic Battle for Long Drive Glory!
60.2K8 -
17:50
BlackDiamondGunsandGear
9 hours ago $1.18 earnedTeach Me How to Build an AR-15
36.4K4 -
9:11
Space Ice
1 day agoFatman - Greatest Santa Claus Fighting Hitmen Movie Of Mel Gibson's Career - Best Movie Ever
99.6K42 -
42:38
Brewzle
1 day agoI Spent Too Much Money Bourbon Hunting In Kentucky
65.3K12 -
1:15:30
World Nomac
18 hours agoMY FIRST DAY BACK in Manila Philippines 🇵🇭
49.5K9 -
13:19
Dr David Jockers
1 day ago $10.13 earned5 Dangerous Food Ingredients That Drive Inflammation
70K17 -
1:05:13
FamilyFriendlyGaming
1 day ago $15.59 earnedCat Quest III Episode 8
125K3 -
10:39
Cooking with Gruel
2 days agoMastering a Succulent London Broil
80.9K5 -
22:15
barstoolsports
1 day agoWhite Elephant Sends Barstool Office into Chaos | VIVA TV
56.9K1