Commit Graph

4 Commits

Author SHA1 Message Date
Sandeepa Dilshan Alagiyawanna
5f629b6049
Optimize and_gate and nand_gate (#10591)
* Added more optimized sudoku solver algorithm

* Added more optimized sudoku solver algorithm and File Renamed

* and_gate is Optimized

* and_gate is Optimized

* and_gate is Optimized

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-17 01:17:49 +02:00
Akshar Goyal
f4ff73b1bd
Converted tests into doctests (#10572)
* Converted tests into doctests

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Removed commented code

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-16 03:21:43 -04:00
Rohan Anand
209a59ee56
Update and_gate.py (#8690)
* Update and_gate.py

addressing issue #8656 by calling `test_and_gate()` , ensuring that all the assertions are verified before the actual output is printed.

* Update and_gate.py

addressing issue #8632
2023-05-10 21:38:52 +12:00
Arjit Arora
bd490614a6
Add function for AND gate (#7593) 2022-10-24 12:13:01 +02:00