Skip to content

den0xquant/test_task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run the project

The source code is in search.py file.

Usage

To install dependecies you should use poetry.

poetry -V
Poetry version 1.1.14

poetry install

Project now is available to run and can be used.

Mypy checking

Command that runs type checking.

mypy search.py

mypy checking

Tests

Command that runs tests.

python search_test.py

tests

Possible improvements

I decided to solve the task using just loops. The algorythm has O(n^2) running time. To make it more efficient it better to use trees + add performance checkups.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages