All Questions
6 questions
1
vote
0
answers
33
views
Lock free Leaky Bucket Rate Limiter
I want to validate my solution for a lock-free leaky bucket rate limiter. Given a queuing capacity and rate limit per second, it should queue requests till capacity is reached and it should allow only ...
3
votes
2
answers
1k
views
HackerRank challenge to count ways to climb a staircase, solved using Java Fork Join
I'm trying to solve Stair case recursion problem on HackerRank. The problem is to find all possible ways for a child to climb a stair case with height n given that ...
5
votes
1
answer
66
views
Recur-ratively resolve dependencies and summarize all results
I've been tasked with resolving all dependencies to a project. Because it couldn't be simple (it never is, right?), the requirements include a few different dependency management tools. For a first ...
10
votes
2
answers
1k
views
Naive parallel Sieve of Eratosthenes in Java
My naive version now is too slow. I think setting/accessing concurrent atomic bit is way slower compared to access/modify an array of boolean. Second, the parallel execution only happens on the ...
7
votes
1
answer
975
views
Sorting Algorithm Visualizer
Over the course of the past month I've worked on a little visualizer to show how different algorithms are sorted. I'm pretty happy with how it turned out but would be interested in any feedback ...
1
vote
2
answers
3k
views
Large arrays make runtime very slow
So I have the following code that takes the input of two arrays, and apply some queries to match elements from DBpediaClassesArray with elements from ...