Kishan Ved
Kishan Ved
#### Description of the problem On running the mentioned command for testing: `python3 -m pytest --doctest-modules --cov=./ --cov-report=html` The process gets killed as shown: ``` ======================================================== test session starts ========================================================...
#### References to other Issues or PRs or Relevant literature Starting code for #550. This is more like a template. #### Brief description of what is fixed or changed This...
I thought this would be a good one to get started with LPython implementations. Reference: https://docs.python.org/3/library/operator.html#operator.lshift
Till now, LPython's math module has sqrt() and cbrt() functions that work only for f64 types. In this PR, I have added support for i32, i64, f32 and f64 datatypes,...
Related to: Google Summer of Code 2024, Kishan Ved ## Objective Add a C++ backend for AVL Trees class. Related issue: https://github.com/codezonediitj/pydatastructs/issues/550
#### Description of the problem In the file: `pydatastructs/trees/tests/test_binary_trees.py`, inside the `_test_SplayTree()` function: There are 2 code snippets which run only when the backend is Python. This is because if...
#### Description of the problem Find out why only Python 3.8 CI fails here: https://github.com/codezonediitj/pydatastructs/actions/runs/9306171981/job/25614766604
#### Description of the problem BUG: DynamicOneDimensionalArray's size is not updated properly #### Example of the problem ``` def test_DynamicOneDimensionalArray3(): DODA = DynamicOneDimensionalArray A = DODA(int, 1) A.delete(1) print(A._size) print(str(A))...
## GSoC 2024: Week 1, 2 and 3 ### Adding C++ backend for Node, TreeNode, ArrayForTrees, BinaryTree and testing the added C++ backend. Please refer to the PR: https://github.com/codezonediitj/pydatastructs/pull/556 Tasks:...
#### Description of the problem In the file: `pydatastructs/trees/tests/test_binary_trees.py`, inside the _test_AVLTree() function, there is a function called `test_select_rank()`. This contains a code snippet (that tests the select() method) which...