* Add "Binary representation of floating point numbers" section.
* Adding a half-precision explanatory picture.
* Binary representation of the floating-point numbers.
* Test that two images are identical for the Seam Carving algorithm.
* Tune the Seam Carving tests.
* Tune the Seam Carving tests.
* Tune the Seam Carving tests.
* Tune the Seam Carving tests.
The existing insertion sort implementation began by iterating from
0 until the end of the array, but it is only necessary to
iterate from 1 until the end of the array, since at the
0th index, there is nothing to compare to the left of
the element.
In order to complete this change, I also had to update the tests
to reflect the fact that the algorithm visits each index 1 less
time.
Finally, I corrected the grammar/wording of the comments.
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
* add the DS link
* Finish translating math
* add Arabic version of the README FILE
* add Arabic version of the README FILE
* add the arabic readme file link to main readme file
* add the arabic readme file link to main readme file
* add the arabic readme file link to main readme file
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
* Add divide and conquer example: best time to buy and sell stocks.
* Add divide and conquer example: best time to buy and sell stocks.
* Add dynamic programming version.
* Add word to avoid misinterpretation
* Rename the CI workflow file.
Co-authored-by: Sagid Magomedov <sagid-m@yandex-team.ru>
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
* Add rail fence cipher encoder & decoder
* Add functions to encode & decode strings using the rail fence cipher method
* Add unit tests covering empty strings, pair & odd number of characters in the input string, n=3 & n=4
* Add a README.md for the algorithm
* Update root README.md to link to the new algorithm
* Rename the CI workflow file.
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>