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
Filed in: Recursion | Tail recursion
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…
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
Filed in: Java
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
Filed in: Java
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…
Read More…