Talk:Align columns: Difference between revisions

m
(comments re: J solution)
 
Line 1:
== J solution ==
 
I haven't read the J solution in depth yet, but it appears more complex than may be neccesary. For example, with <tt>'LEFT CENTER RIGHT'=:i.2</tt> then we can solve the task thus:
 
(#~ 0 1 $~ #) (9!:17 CENTER #~ 2 [ 9!:7 ' '$~11) (]":) 4 :'<;._2&.(,&x)y'S:0 /'$';LF;text
Anonymous user