Most active questions

4 votes
3 answers
564 views

Intro This time, I was in the mood for generalizing counting sort to arbitrary (Comparable) objects. Code ...
coderodde's user avatar
  • 33.1k
3 votes
4 answers
329 views

I have written a small function that will be imported in each working file of my project and will make logging uniform for the project, allowing for centralized editing of logging settings. What can I ...
6 votes
1 answer
203 views

I've created a reusable SwiftUI ratings-view. Means: Giving 0 to 5 stars as a rating. Here's the source-code: ...
michael.zech's user avatar
  • 5,196
3 votes
4 answers
127 views

Code: https://github.com/Loki-Astari/Puzzle/tree/master/wc Challenge: https://codingchallenges.fyi/challenges/challenge-wc/ wc.cpp ...
Loki Astari's user avatar
  • 98.6k
5 votes
1 answer
218 views

Intro This time, I present the ObjectBucketSort, a stable sorting algorithm for objects. Code ...
coderodde's user avatar
  • 33.1k
3 votes
2 answers
107 views

Please review my_fgets_test() for completeness to exercise the functionality of fgets()-like code. Also suggestions for ...
chux's user avatar
  • 37k
2 votes
1 answer
87 views

Intro Suppose we throw a die \$N\$ times. Before writing this program, I was puzzled by a question: How should I approach each trial. I got two options: Choose a single die number, count how many ...
coderodde's user avatar
  • 33.1k
3 votes
1 answer
65 views

I want to provide an instance of JCache's CacheManager that either points to a distributed cache managed by Redisson (used in production), or a Caffeine instance (used for testing). I want this code ...
PunDefeated's user avatar
3 votes
1 answer
50 views

Code: https://github.com/Loki-Astari/Puzzle/tree/master/JSON-1 From Challenge: https://codingchallenges.fyi/challenges/challenge-json-parser json1.cpp ...
Loki Astari's user avatar
  • 98.6k
3 votes
3 answers
40 views

Project Overview I have developed a project named FTPChat, which is a lightweight messaging protocol that uses a shared file hosted on an FTP server as its transport layer. The project is intended for ...
Ahmed Omar's user avatar
1 vote
2 answers
47 views

Code: https://github.com/Loki-Astari/Puzzle/tree/master/HUF Challenge: https://codingchallenges.fyi/challenges/challenge-huffman huf.cpp ...
Loki Astari's user avatar
  • 98.6k
1 vote
1 answer
18 views

Code: https://github.com/Loki-Astari/Puzzle/tree/master/JSON-2 Challenge: https://codingchallenges.fyi/challenges/challenge-json-parser json.l ...
Loki Astari's user avatar
  • 98.6k