diff --git a/Algorithms.Tests/Algorithms.Tests.fsproj b/Algorithms.Tests/Algorithms.Tests.fsproj index fe2d559..836da01 100644 --- a/Algorithms.Tests/Algorithms.Tests.fsproj +++ b/Algorithms.Tests/Algorithms.Tests.fsproj @@ -1,46 +1,29 @@ - net5.0 - preview - + net6.0 + latest + true false false - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/Algorithms/Algorithms.fsproj b/Algorithms/Algorithms.fsproj index 4be3dd4..b17144c 100644 --- a/Algorithms/Algorithms.fsproj +++ b/Algorithms/Algorithms.fsproj @@ -1,52 +1,22 @@  + - Exe - net5.0 - preview + Library + net6.0 + latest + true + TRACE + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file + + diff --git a/Algorithms/Program.fs b/Algorithms/Program.fs deleted file mode 100644 index 31cb68e..0000000 --- a/Algorithms/Program.fs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Algorithms - -module Program = - [] - let main argv = - // For sort algorihm testing - // let list = [| 2; 45; 59; 1; 0; -2; 5; 19 |] - // for item in InsertionSort.Sort list do - // System.Console.WriteLine item - Math.Fibonacci.PrintSerie 1 0 - - 0 diff --git a/Algorithms/Strings/Manacher.fs b/Algorithms/Strings/Manacher.fs index b3e111b..beb2b2b 100644 --- a/Algorithms/Strings/Manacher.fs +++ b/Algorithms/Strings/Manacher.fs @@ -18,7 +18,9 @@ module Manacher = printfn "%A" newInputString // Append last character - newInputString <- newInputString + (string) inputString.[^1] + newInputString <- + newInputString + + string inputString.[inputString.Length - 1] // We will store the starting and ending of previous furthest ending palindromic // substring