MCPcopy Create free account
hub / github.com/HuberTRoy/leetCode / get_multiple

Method get_multiple

Array/3SumWithMultiplicity.py:89–95  ·  view source on GitHub ↗
(time, all_times)

Source from the content-addressed store, hash-verified

87 mod = 10**9 + 7
88
89 def get_multiple(time, all_times):
90 if time==1:
91 return all_times
92 elif time==2:
93 return sum(range(all_times))
94 elif time==3:
95 return sum(plus[:all_times])
96
97 x = {}
98 for j in set(A):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected