Skip to main content

Unanswered Questions

414 questions with no upvoted or accepted answers
3 votes
0 answers
98 views

Comparing two Tree sort algorithm variations implemented in Java

I have this repository. It contains three variations of a simple sorting algorithm for integer keys. The idea is that we keep a balanced BST in which each node holds the integer key and its frequency. ...
2 votes
0 answers
58 views

Shrinkable Swing toolbar

I was tasked with implementing a toolbar that can be shrinked beyond what's necessary to display its buttons' texts. As a last resort, the buttons should hide their texts and only display their icons ...
1 vote
0 answers
53 views

Java multithreading with Spring JPA

I have to improve a process that is currently sequential, and i wanna make it multi-thread. This process uses Spring JPA, with spring boot 2 and java 17. I would like to have a feedback on the ...
1 vote
0 answers
63 views

Principal Variation Search (PVS) for playing Connect Four in Java

This time, I have an implementation of PVS (Principal Variation Search) algorithm for playing the game of Connect Four. The repository holding the above .java file ...
1 vote
0 answers
60 views

Negamax with Alpha-beta pruning for playing Connect Four in Java

I have this repository. My main concern this time is my implementation of the Negamax algorithm with alpha-beta pruning: ...
0 votes
0 answers
50 views

Is the MVP architecture correctly organized in an FXML JavaFX project?

As far as I understand, when creating a project using the FXML JavaFX Maven Archetype, the project is initially designed with the MVC pattern. However, I wanted to convert it to the MVP architecture (...
0 votes
0 answers
42 views

Flat serialization of single-value Java records used as strong types with Gson v2.11.0

Introduction I am currently developing a REST client in Java v21 and got the foundation basically working. In my project the Immutables and Gson library are currently used. Both libraries integrate ...
0 votes
0 answers
89 views

Securing microservices with Spring Security JWT

I would like to build a RESTful microservices architecture where each microservice acts as a resource server. Additionally, there will be an authorization server responsible only for user registration,...
5 votes
0 answers
106 views

Dial's heap in Java for integer priority queues

(The entire project is here.) Intro I have this priority queue data structure for non-negative integer priority keys. I recall that it is called Dial's heap. Code Implementation ...
2 votes
0 answers
63 views

A machine learning model for predicting bit strings in Java

I have this GitHub repository (BitPredictor.java). Basically, I tried to harness a machine learning model for predicting bit strings. I have implemented it to the best of my understanding and have ...
2 votes
0 answers
71 views

Classes for Config and logical operators

I have a spring cloud gateway application with this yml structure for request validation: ...
1 vote
0 answers
93 views

Skip list -based Map in Java

Now I have this result. Code com.github.coderodde.util.SkipListMap.java: ...
2 votes
0 answers
64 views

Implement Iterable where hasNext depends on mutable object state, which is mutated through explicit call

I am trying to implement the Iterable interface on an object, where the hasNext method on iterator will depend on mutable object state. This state is mutated by ...
1 vote
0 answers
23 views

Determine top t values with few calls to order(), a given procedure to order k values, Java take 2

My 2nd take of the problem in Determine top t values with few calls to order(), a given procedure to order k values: Given an array and a procedure to order \$k\$ ...
1 vote
0 answers
64 views

Video Poker with luck modifier

While grinding for coins on the GTA San Andreas casino poker machines I started to wonder how exactly one might implement a luck modifier to a video poker game without it being completely obvious to ...

15 30 50 per page
1
2 3 4 5
28