Insertion Sort

less than 1 minute read

Insertion Sort algorithm does the following Keeps the sorted numbers from left to right. Compares the left with right and interchanges the...

Reverse a String in Swift

1 minute read

Here is a simple code snippet written in Swift programming language for reversing a string. import Cocoa ` ` //Assigning a value to a String variable v...

Selection Sort

1 minute read

Selection Sort algorithm does the same amount of comparison( N*(N-1)/2 ) like bubble sort but the number swaps (N) is reduced drastically. This sort algorith...

No such module Cocoa

less than 1 minute read

No such module Cocoa error message is displayed when the type of playground file selected is iOS instead of OS X. Make sure to select Playground under OS X i...

Binary search

1 minute read

After a simple bubble sort algorithm (not the most efficient sorting algorithm), let us try to implement Binary search in Swift Programming Language. Binary ...

Bubble Sort

less than 1 minute read

The best way to practice a new language is to write more programs using that language. Here is a Bubble Sort program written in Swift Programming language. ...

How to hide windows updates on Windows 8.1

1 minute read

In this short tutorial, we are going cover the steps required to hide and restore windows updates on Windows 8.1. Why do you want to hide windows updates? ...