CityTraffic

Code Editor
Software
0

City Traffic - my solution to Coderbyte | TypeScript - JavaScript | the algorith

Launched December 2025
30% Aff.
Est. Revenue
$15,400
Unlock
Members
Price
$17 one-time

About CityTraffic

CityTraffic is a code editor software product available on the Whop marketplace, created by etaoleoventas and launched in December 2025.

Have the function CityTraffic(strArr) read strArr which will be a representation of an undirected graph in a form similar to an adjacency list. Each element in the input will contain an integer which will represent the population for that city, and then that will be followed by a comma separated list of its neighboring cities and their populations (these will be separated by a colon). For example: strArr may be ["1:[5]", "4:[5]", "3:[5]", "5:[1,4,3,2]", "2:[5,15,7]", "7:[2,8]", "8:[7,38]", "15:[2]", "38:[8]"]. This graph then looks like the following picture: Each node represents the population of that city and each edge represents a road to that city. Your goal is to determine the maximum traffic that would occur via a single road if everyone decided to go to that city. For example: if every single person in all the cities decided to go to city 7, then via the upper road the number of people coming in would be (8 + 38) = 46. If all the cities beneath city 7 decided to go to it via the lower road, the number of people coming in would be (2+15+1+3+4+5)=30. So the maximum traffic coming into the city 7 would be 46 because the maximum value of (30,46)=46. Continue over pictures...

CityTraffic has is priced at $17 (one-time payment).

CityTraffic offers a 30% affiliate commission for promoters. Track CityTraffic's estimated revenue, member growth trends, and competitive market position on Whop Trends.

Product Performance

Change History

1 change
Affiliate StatusDec 22, 2025
enabled

Frequently Asked Questions

CityTraffic is a code_editor product available on Whop. City Traffic - my solution to Coderbyte | TypeScript - JavaScript | the algorith

CityTraffic costs $17.00 (one-time payment).

CityTraffic was created by etaoleoventas on Whop.

CityTraffic is $17.00 (one-time). Check the full analytics, growth charts, and market comparison on Whop Trends to decide.