New answers tagged pascal
2
votes
Inserting an element into a linked list
Three functions is not wrong, but you have the wrong set of functions, in my opinion.
You should, as otherwise noted, have a separate list type that holds both a head and tail node.
You should have a ...
3
votes
Pascal Bubble Sort Implementation
As noted, there are opportunities here to break this problem down. In order to bubble sort, you need to be able to swap. So let's make that a procedure.
Once we can make a swap, we need to make a pass ...
Top 50 recent answers are included
Related Tags
pascal × 26performance × 7
beginner × 4
delphi × 4
programming-challenge × 3
multithreading × 3
object-pascal × 3
strings × 2
python × 1
c# × 1
object-oriented × 1
array × 1
sorting × 1
mysql × 1
linked-list × 1
time-limit-exceeded × 1
console × 1
matrix × 1
io × 1
thread-safety × 1
search × 1
animation × 1
assembly × 1
logging × 1
binary-search × 1