Elixir
Elixir copied to clipboard
why the test "it works when the list is not empty" is disabled?
Not a very urgent change for a project of this nature, but the Elixir and Erlang versions in `.tool-versions` are `1.8.0` and `21.2.3` respectively (see below) and the newest versions...
I saw the code of this algorithm, it doesn't work. There issues in working, i think someone left in a half way.
Problem statement: given a sorted array of n elements, write a function to search for the index of a given element (target)
rot13 cipher added
Add a Leetcode solution to Best Time to Buy and Sell Stock problem [Best Time to Buy and Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/)
**Added** > seg_tree.ex in **lib/data_structures** > seg_tree_test.exs in **test/data_structures** following the generalized theme of naming files.