kdb+ and q
Questions related to kdb+ and q
cancel
Showing results for
Did you mean:

## Forum Posts

### 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+,...

by Contributor III
• 407 Views
• 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...

by Contributor III
• 240 Views
• 1 replies
• 3 kudos

### Resolved!Mandelbrot man rides again

In the forthcoming episode of the ArrayCast podcast our guest Michal Wallace of 1010data referred to an ad he had once placed on LinkedIn to recruit someone who would learn k3, an ancestor language of q. In the job ad he showed the k3 code to print a...

by Contributor III
• 383 Views
• 3 replies
• 6 kudos

### Project Euler #7: 10,001st prime

https://projecteuler.net/problem=7 By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the 10,001st prime number? Solution 1 Use Eratosthenes’ Sieve to generate enough primes. Then pick the 10,...

by Contributor III
• 171 Views
• 1 replies
• 2 kudos

### Resolved!Project Euler #6

6. Sum square difference https://projecteuler.net/problem=6 The sum of the squares of the first ten natural numbers is 385. The square of the sum of the first ten natural numbers is 3025. Hence the difference between the sum of the squares of the fir...

by Contributor III
• 251 Views
• 5 replies
• 2 kudos