Q basics

I am not a Q god but here are some basics to help you read most Q code Read More…

Some useful kdb Q commands

Having worked in kdb Q on and off for a while here are a list of commands that I have found to be of value Read More…

Recursion and Tail recursion in Java

This is a quick article about recursion and how it can be used to solve various problems. We will start with some simple examples and work our way up.

Let us look at what recursion is. What we do in recursion is to call the same method or function many times in order to solve a problem because the actual algorithm does not change from call to call just the arguments.
Read More…

Thread safe Java Singleton

When creating a thread safe Java Singleton there are three basic patterns. Double Checked Locking, Lazy Initialization and upfront initialization. Here we will talk about all three methods. Read More…

Java Interview Code Examples

Here are a series of coding interview questions that in my 30 years of experience working for most of the Investment Banks on Wall Street I have encountered. I recommend you try to answer the question first before looking at the Answer. If you can pass all of these you should sail through most coding interviews.
Read More…

By clicking Dismiss you accept that you may get a cookie that is used to improve your user experience and for analytics.
All data is anonymised. Our privacy page is here =>
Privacy Policy
This message is required under GDPR (General Data Protection Rules ) and the ICO (Information Commissioners Office).