All Questions
4 questions
3
votes
1
answer
334
views
Longest Substring without Repeating Characters Problem - Kotlin Recursion
I am practicing coding questions on leetcode. I have been an OOP my whole career, and I am trying to wade into the dark abyss that is functional programming. So I am trying to do things purely ...
3
votes
0
answers
442
views
Recursive solution for Longest Substring Without Repeating Characters written in Elixir
Here's my recursive implementation of a sliding window algorithm to find the longest substring of a given string without repeating characters. Is there a more idiomatic-Elixir way to write this?
<...
2
votes
1
answer
783
views
Recursive function application
I use a lot T4 templates and want to avoid extra code writing when it could be generated. Currently I have following class:
...
4
votes
1
answer
77
views
Factoring Integers the fun way
Code dump:
...