<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>pete on </title>
    <link>/tags/pete/</link>
    <description>Recent content in pete on </description>
    <generator>Hugo -- gohugo.io</generator>
    <lastBuildDate>Thu, 01 Dec 2016 19:33:49 +0000</lastBuildDate><atom:link href="/tags/pete/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Heapsort algorithm (Java)</title>
      <link>/heapsort-algorithm-java/</link>
      <pubDate>Thu, 01 Dec 2016 19:33:49 +0000</pubDate>
      
      <guid>/heapsort-algorithm-java/</guid>
      <description>Heapsort algorithm details: Worst-case Time Complexity: O(n log(n))
Space Complexity: O(1)
The algorithm The heapsort algorithm is an in-place, comparison based sorting algorithm. In the core of the algorithm (as the name suggest), the use of the heap data structure is improving the time complexity. In a nutshell, heap is a special type of tree, where the elements in the tree are in a certain order to each other. This allows to find the minimum or maximum of binary heap in O(1) and insertion/deletion in O(log(n)).</description>
    </item>
    
    <item>
      <title>Bubble sort algorithm (Java)</title>
      <link>/bubble-sort-algorithm-java/</link>
      <pubDate>Mon, 14 Nov 2016 19:45:58 +0000</pubDate>
      
      <guid>/bubble-sort-algorithm-java/</guid>
      <description>Algorithm details: Worst-case Time Complexity: O(n^2)
Space Complexity: O(1)
The algorithm Bubble sort is a very simple sorting algorithm, with straight forward implementation. The algorithm is based on comparison of all elements to each other. The compared element positions are switched on the comparison result, and the element is shifted to the correct location. This implies, that each element has to be checked against each other. This results in n*n comparisons, even if the collection is in order.</description>
    </item>
    
    <item>
      <title>CqlSh connection issues on Ubuntu 16.04 – Cassandra</title>
      <link>/cqlsh-issues-ubuntu-16-04-cassandra/</link>
      <pubDate>Thu, 22 Sep 2016 10:06:52 +0000</pubDate>
      
      <guid>/cqlsh-issues-ubuntu-16-04-cassandra/</guid>
      <description>I upgraded my Ubuntu 14.04 development system to 16.04 in August with the first point release. I have to say the upgrade process when really smooth. There where small issues with PHP and Python. The only painful issue I had was with Cassandra and CqlSh. The python version which is shipped with Ubuntu 16.04 is 2.7.12 and the version CqlSh is targeted is 2.7.11.
When I tried to connect to CqlSh I got the following error:</description>
    </item>
    
  </channel>
</rss>
