Community

Start a Thread


Notifications
Subscribe You’re not receiving notifications from this thread.

Targets And Vicinities - Python Question

Challenges • Asked about 5 years ago by Alexander Volinski

Alexander Volinski Commented on Oct 18, 2019:

Why getTV('130', '30') should return '0T1V'?
3 exists in 130, so V + 1
and 0 also exists in 130, so V += 1
total: V=2, T=0

Link to problem: Targets And Vicinities.

Jake from AlgoDaily Commented on Nov 12, 2019:

Thanks for pointing this out. It's because they weren't the same length inputs. I've edited the problem to ensure that the guess and actual number are of the same size.