This article looks at the interview question - Determine if a string is a palindrome (text that is spelled the same when reversed).
While studying efficient sorting algorithms is beneficial, studying slow ones, at least initially is as well since it teaches us why they’re bad. Bubble sort is one of those bad sorting algorithms. I recall as a young programmer, around 11 years old before I had any formal training, bubble sort is how I intuitively sorted a list.
The flyweight design pattern aims to minimise the memory usage of a collection of items by promoting re-use and deferring initialisation.
Another year, another redesign. This post will look at the recent overhaul to my blog, going over the new design and feature changes.
Sass provides us with a number of helpful tools to share code between CSS rules. This article dives in to the relatively new feature in Sass called placeholder selectors. Looking at how to use this feature correctly, cover some problems that may occur, and examine how it differs from other approaches.
A binomial heap is a priority queue data structure similar to the binary heap only with a more strict structure, it supports quicker merging of two heaps in Θ(\log n) at the cost of a slower find minimum operation. A binomial heap is made up of a series of unique ‘binomial trees’ which are constructed from smaller binomial trees.
Here are some of the commands I find useful for Android’s
adb. They can be used manually or to automate your build or testing process.