Top "Pseudocode" questions

Pseudocode is a compact and informal high-level description of a computer programming algorithm.

Standards for pseudo code?

I need to translate some python and java routines into pseudo code for my master thesis but have trouble coming …

pseudocode
Create a Hash Table with two arrays

Does anyone know how to do this and what the pseudo code would look like? As we all know a …

hashtable pseudocode
Find maximum value in an array by recursion

// Find a maximum element in the array. findMax(A) findMaxHelper(A, 0, A.length) findMaxHelper(A, left, right) if (left == right …

arrays algorithm search pseudocode
Kth largest element in a max-heap

I'm trying to come up with something to solve the following: Given a max-heap represented as an array, return the …

algorithm data-structures heap pseudocode
Pathfinding (routing, trip planning, ...) algorithms on graphs with time restrictions

I have a database of bus/train/... stops and the arrival/departure times on each date and so on. I'm …

algorithm graph pseudocode path-finding gtfs
Writing pseudocode for parallel programming

How do you write pseudo-code for parallel programming? Especially, how do you differentiate local and shared variables? How do you …

parallel-processing pseudocode
Using BFS or DFS to determine the connectivity in a non connected graph?

How can i design an algorithm using BFS or DFS algorithms in order to determine the connected components of a …

algorithm time-complexity graph-algorithm pseudocode
Java Simulated Annealing from Pseudocode

I am currently working on a project (TSP) and am attempting to convert some simulated annealing pseudocode into Java. I …

java algorithm artificial-intelligence pseudocode simulated-annealing
Path finding in a Java 2d Game?

Essentially its a pacman clone game I'm working on. I have an Enemy class, and 4 instances of this class created …

java algorithm pseudocode path-finding
transitive reduction algorithm: pseudocode?

I have been looking for an algorithm to perform a transitive reduction on a graph, but without success. There's nothing …

algorithm graph pseudocode