Solution for KxCon2016 Puzzle Challenge

3 Jun 2016 | , ,
Share on:

Puzzle master Nick Psaris received a number of excellent solutions for the KxCon2016 Challenge over the day and a half after he announced it.

The winning submission was by Attilla Vrabecz (pictured above), and the runner-up solution came from Marat Khalitov. John Gleeson came up with an even better solution, but unfortunately he just missed the deadline for submissions.

ldidx:{{(prd[x]#y){y#x}/0Ni,’reverse 1_x}[0x0 sv’0N 4#x 4+til 4*x 3;first(1 2 4 4 8;”xhief”)[;enlist 0|-10+x 2]1:(4*1+x 3)_ x]}@

name          | n   ms    bytes      pts
--------------| ------------------------
attilavrabecz | 1   1216  199795120  2
maratkhalitov | 200 407   244273680  1
jamescoakley  | 104 1367  199795168  0
ryansparks    | 57  2694  244273792  0
alexbelopolsky| 91  1853  1073742800 0
aarondavies   | 5   4882  1155293536 0
joellemay     | 193 16914 2377695840 0

Here is a compilation solution from Nick of all of the good ideas that were submitted:

ldidx:{

d:first (1#4;1#”i”) 1: 4_(h:4*1+x 3)#x;

x:$[0>i:x[2]-0x0b;::;first ((2 4 4 8;”hief”)@:i,()) 1:] h _x;

x:((prd[d])#x){y cut x}/reverse 1_d;

x}@

SUGGESTED ARTICLES

IIoT with kdb+ and Kx technology

Kx Insights: Sensor Data Storage for Industrial IoT

7 Jul 2017 | , , , , , , ,

Businesses adopting Industrial Internet of Things (IIoT) technologies face a herculean task. In an industry where the number of connected devices and equipment is increasing exponentially, the amount of operational data coming online which must be analyzed and stored rises in tandem.
Though many industrial businesses utilizing traditional database management systems find themselves drowning in the sheer volume of sensor data they are producing, those who are forward-looking are turning towards new platforms to help manage their data and, in turn, reduce costs and improve overall performance.