I\'ve been tasked to create a median function using C++ to be used with Impala SQL. I\'ve installed a standalone version (5.16.2) of Cloudera on a laptop so I don\'t take th