kdb+ and q
Q+A on all things kdb+ database and the q language
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Advent of Code Day 7

Scraping solutions from various (mostly private) forums, I’ve written up AoC Day 7 on Study Q. The aim of these articles is to help less experienced q coders learn from solutions written by q veterans. In today’s challenge I take you through my own r...

SJT by Valued Contributor
  • 1 replies
  • 2 kudos

John Earnest and versions of k

In the latest episode of the Array Cast we talk to John Earnest, creator of the ok.js k6 interpreter and an expert on k programming, about many aspects of array programming, including the relationship between k and Forth.

Screenshot 2022-11-30 at 12.34.47.png
SJT by Valued Contributor
  • 1 replies
  • 3 kudos

LeetCode #53: Maximum Subarray

https://leetcode.com/problems/maximum-subarray/ Given an integer array nums, find the subarray which has the largest sum and return its sum. The performance of q solutions to the Maximum Subarray problem appeared on StackOverflow recently. In q/kdb+,...

SJT by Valued Contributor
  • 5 replies
  • 6 kudos

Next Vector Dōjō on Sun 20 November

The dōjō awaits youAnother intimate Vector Dōjō this coming Sunday 20 November: room for three. Once again we’ll pick small problems from e.g. Project Euler, Rosetta Code, or LeetCode to explore the transition from looping to vector solutions. Mornin...

SJT by Valued Contributor
  • 1 replies
  • 3 kudos

You could pay Michal Wallace to stop using k

Every qSQL query has an equivalent functional form – in fact, is parsed into it, so there is no difference in their execution. The qSQL queries look like SQL and we use them wherever possible, but the functional forms are more general, and some more ...

SJT by Valued Contributor
  • 1 replies
  • 3 kudos