Trees are simple to implement in J -
https://code.jsoftware.com/wiki/User:Devon_McCormick/Trees - as are graphs
-
https://code.jsoftware.com/wiki/NYCJUG/2009-11-10/BreadthFirstGraphTraversal
 .
A stack is simple to implement too but I'm not sure why you would want to
as it's simply a vector with very restrictive rules to manipulate it.
Linked lists make no sense in a language with dynamic arrays for much the
same reason since a linked list is mainly a way of implementing dynamic
arrays but has benefit only in a language which lacks these natively.

On Sun, Nov 17, 2019 at 8:24 AM 'Bo Jacoby' via Programming <
programm...@jsoftware.com> wrote:

>  ORDINAL FRACTIONS - the algebra of data
>
>
>
> |
> |
> |
> |  |  |
>
>  |
>
>  |
> |
> |  |
> ORDINAL FRACTIONS - the algebra of data
>
> This paper was submitted to the 10th World Computer Congress, IFIP 1986
> conference, but rejected by the referee....
>  |
>
>  |
>
>  |
>
>
>
>
>     Den søndag den 17. november 2019 07.12.02 CET skrev Raul Miller <
> rauldmil...@gmail.com>:
>
>  Arrays are roughly analogous to computer memory.
>
> Put different: I think you are asking the wrong question.
>
> (Partially: it's worth thinking about why you pick whichever data
> structures...)
>
> ((It can also sometimes be useful to look on rosettacode for examples of
> various daya structure handling mechanisms.))
>
> Thanks,
>
> --
> Raul
>
> On Sat, Nov 16, 2019 at 6:00 PM Jimmy Gauvin <jimmy.gau...@gmail.com>
> wrote:
>
> > Hi,
> >
> > when dealing with data structures other than arrays such as trees,
> graphs,
> > stacks, linked lists what other programming language do you resort to ?
> >
> > Or do stick with J for all endeavours?
> >
> >
> > Jimmy
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>


-- 

Devon McCormick, CFA

Quantitative Consultant
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to