Questions tagged [pseudocode]
The pseudocode tag has no summary.
39 questions
0 votes
1 answer
215 views
Many if conditions
I have the code but I want to be pseudo as possible so I learn from other ways as much as possible. So what I am building is web based tool and in one section we have a table. This table renders lines ...
1 vote
1 answer
276 views
Inefficient Pseudocode
I have problems to write my first simple pseudocode. The input of the algorithm is an ontology which contains axioms and an inference set, exactly an inference is defined as an object with set of ...
0 votes
2 answers
1k views
Scrabble Grid Word Detection Algorithm
I am building a scrabble game, and I have already a dictionary working. When the user will place letters on grid, I need to check that all the words are valid. Which algorithm can I use or how can I ...
2 votes
1 answer
5k views
Meaning of infinity sign in pseudocode? [closed]
I searched extensively and can't figure out what the infinity sign is meant in this pseudocode. The code is taken from here, which has a detailed explanation of dynamic programming for the coin ...
0 votes
2 answers
1k views
Should I write integration test that test my code with real-network servers, before I start writing my code?
I am trying to write integration tests for a client-server app. The client app runs on a user's machine and connects to the server app running on a specific Windows server, network-serverA. The ...
1 vote
0 answers
412 views
concurrency via message queues: how to avoid recursion?
I am working on a concurrency system based on message queues with an underlying thread pool. A queue can target other queues. Also a queue can be targeted by multiple queues (i.e. children) to create ...
-1 votes
1 answer
146 views
Aligning text columns of different size and content
In a past posting, I asked about commands in Bash to align text columns against one another by row. It has become clear to me that the desired task (i.e., aligning text columns of different size and ...
-2 votes
1 answer
109 views
What does this line mean in subset sum problem's pseudocode?
I'm trying to understand the approximate polynomial time algorithm for subset sum problem at Wikipedia, but I stuck at the pseudocode's 3rd line: let T be a list consisting of xi + y, for all y in S ...