[Python] Numpy?

Back to Programming Languages forum

rinqtf_mith     2019-01-07 12:43:23

Hello, I have checked forum for the topic but could not find anything. I am sorry if I missed it.

Cannot we import numpy for solutions? I have used it for the solution of 'Levenshtein Distance', but it did not compile. Did I do something wrong or simply cannot we use it? Thank you all!

Rodion (admin)     2019-01-07 21:07:09
User avatar

Hi there!

NumPy is not included in standard libraries of Python as I remember... So while it can be used of course (or even any unsupported language) - to solve problems, we not expect it to be presented on the server which compiles and runs the code (currently it is 3-rd party server provided by HackerRank). The same is true for any non-standard libraries in any languages of course :)

Though thanks for raising this question. Probably some day in future we have our own testing service for solutions and I think that certain popular libraries (like NumPy) really could be provided along with standard packages...

Please login and solve 5 problems to be able to post at forum