#### Description of the problem <!--Please provide a clear and details information of the bug/data structure to be added.--> In `RangeQuery` `end` is excluded however in sorting algorithms it is included which is inconsistent. #### Example of the problem <!--Provide a reproducible example code which is causing the bug to appear. Leave this section if the problem is not a bug.--> #### References/Other comments I will work on this. https://github.com/codezonediitj/pydatastructs/issues/409