Skip to main content

All Questions

1 vote
1 answer
323 views

Templated linked list in Java

I recently reviewed some data structure concepts, so I implemented my own templated linked list. I am very interested about the code efficient and performance. ...
Eslam Ali's user avatar
  • 423
11 votes
1 answer
504 views

OOP paradigm implementation of a Dictionary data model

Here is the implementation of interface Dictionary using chained hash table class HashTableChained. Despite item 22* saying ...
overexchange's user avatar
  • 3,401
4 votes
1 answer
2k views

Sorting a linked list using mergesort

This sorts a linked list using mergegort. Can you please critique my code and provide your thoughts on where I should improve my code? ...
crondx's user avatar
  • 141
5 votes
1 answer
686 views

Mergesort a LinkedList

I have made an attempt to write the mergesort routine on a LinkedList in Java. It will be great if somebody can review my implementation and point out the issues ...
sc_ray's user avatar
  • 1,213
6 votes
1 answer
740 views

Self-made LinkedList and Node

I have recently made two kinds of linked lists in Java. I know that there is one with generic and one without. However, what I am really concerned about is which style should be used mostly (or which ...
TerryZ's user avatar
  • 85
8 votes
1 answer
228 views

Monadic Immutable Linked List in the Least Functional Language Evar

I've written a List monad as an example for a related question. This is a rather frustrating experience as I wanted to use Java, which (as of Java 7) still lacks lambda expressions and lacks higher-...
amon's user avatar
  • 12.6k
5 votes
2 answers
5k views

Implementation of a double linked list with generics and inheritance

Disclaimer: The code already was graded - so I don't ask for a homework here -just for a code review. :) For a university course my colleagues and I had to implement a list without using any Arrays ...
Philipp's user avatar
  • 321