A nested list :
q)ls:(1 2;1 2;3 4;3 4;enlist 5;`long$())
q)ls
1 2
1 2
3 4
3 4
,5
`long$()
Question : How do you fill the null?
Solution:
Create a function :
q)f:{$[count y;y;x]}
Apply f to nested list:
q)f\[ls]
1 2
1 2
3 4
3 4
,5
,5
A nested list :
q)ls:(1 2;1 2;3 4;3 4;enlist 5;`long$())
q)ls
1 2
1 2
3 4
3 4
,5
`long$()
Question : How do you fill the null?
Solution:
Create a function :
q)f:{$[count y;y;x]}
Apply f to nested list:
q)f\[ls]
1 2
1 2
3 4
3 4
,5
,5