Wow! brilliant solutions! It will take me a couple of days to parse through
these diverse approaches to solving the Digits problem. One of the aspects
of J that I appreciate the most is the wide range of creative approaches
that seem to materialize when multiple people use J to solve the same
problem. This has been apparent on several of the challenges I have posted
on this forum.

I learn as much by studying how experts approach these simple problems as I
do by reading the J doc.  In some ways this problem-solving approach is
even better for learning, as it shows how experts build (mostly tacit) J
code to craft solutions.

I still have problems decoding complex tacit expressions, let alone
building them myself, so decoding these problem solutions has helped a
great deal in improving my J skills. Henry Rich's marvelous Dissect tool
has also been a great help in this endeavor.

Skip



On Tue, Oct 3, 2017 at 11:05 PM, Jimmy Gauvin <[email protected]>
wrote:

> Variant on the cheat:
>
>    zz=.,10#.>{4#<>:i.6
>    4{.zz
> 1111 1112 1113 1114
>
>
> On Tue, Oct 3, 2017 at 11:24 PM, Roger Hui <[email protected]>
> wrote:
>
> > V. nice.
> >
> > As they say, if you're not cheating you are not trying hard enough. :-)
> >
> >
> > On Tue, Oct 3, 2017 at 8:21 PM, Cliff Reiter <[email protected]>
> > wrote:
> >
> > > A cheat (?) that builds instead of "removing"
> > >
> > >    z=.,".>{4#<'123456'
> > >    $z
> > > 1296
> > >    10{.z
> > > 1111 1112 1113 1114 1115 1116 1121 1122 1123 1124
> > >
> > >
> > > On 10/3/2017 4:16 PM, Skip Cave wrote:
> > >
> > >> Another interesting Quora problem:
> > >>
> > >> Given the integers from 1000 to 9999, remove all integers that
> contain a
> > >> 7,
> > >> 8, 9, or zero, and list the remaining integers.
> > >>
> > >> Skip
> > >> ------------------------------------------------------------
> ----------
> > >> 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
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to