We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I believe that I made a suggestion, gave concrete reasons for that suggestion, and then, eight months later, was asked by someone who may or may not know how to use Python for statistical purposes if it would be pointless to take that suggestion without the person addressing a single point. That is the very definition of pointless. Maybe you have a point but you don't want to bother typing it? Why ask if someone had a point without making any points yourself?
Here's an extended version of the points i summarised in my earlier suggestions.
The question works against previous questions in a series.
The question is part of a series that purports to be an introduction to statistics, which in Python is generally done with numpy or scipy. The goal is not about a specific language or statistics, but on how to achieve well known tasks in statistics (with Python or other language).
In other languages, median may be part of the core library. As far as I'm aware, the built-in functions those other languages is currently acceptable for this problem.
Reimplementation of library functions is pointless, because the code has already been crafted, with many edge cases eliminated. Reinventing the wheel is a time waster.
In particular, the median function is likely to be done inefficiently by a sort. However, it can be done more efficiently with quicksort. Solving the problem with a standard sort thus provides a false sense of accomplishment. If the goal is really to help programmers get good, then it should not do median this way.
These are my opinions posed in the form of points to express my opinions. They surely can change if anyone has points to add, and I welcome the opinions of others, but please don't make pointless questions a habit.
TLDR: I don't make a practice of suggesting things that I think are pointless.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 1: Quartiles
You are viewing a single comment's thread. Return to all comments →
I believe that I made a suggestion, gave concrete reasons for that suggestion, and then, eight months later, was asked by someone who may or may not know how to use Python for statistical purposes if it would be pointless to take that suggestion without the person addressing a single point. That is the very definition of pointless. Maybe you have a point but you don't want to bother typing it? Why ask if someone had a point without making any points yourself?
Here's an extended version of the points i summarised in my earlier suggestions.
These are my opinions posed in the form of points to express my opinions. They surely can change if anyone has points to add, and I welcome the opinions of others, but please don't make pointless questions a habit.
TLDR: I don't make a practice of suggesting things that I think are pointless.