Our Feeds

Thursday 30 January 2014

Ajith KP

Program to print Binary Numbers where adjacent bits are not 1 [Java]

This was the interview question asked to my teacher when she attend an interview.
I have created a Java program to demonstrate it.

Eg.
1010 - Valid.
1101 - Not Valid because two 1's are in adjacent  positions.




Sunday 5 January 2014

Ajith KP

Search - Linear search and Binary search [CPP]

Search is a technique to find an item from group of item whose value equal to key value.

Source Code


Ajith KP

Tower Of Hanoi Solving [CPP]

Tower of Hanoi is a disk transferring problem.
I hope the seeker knows the rules of transferring disks from source to destination.

Source Code


Ajith KP

Quick Sort [CPP]

Quick sort is a sorting method. This method uses divided and conquer method to sort.

Source Code

Ajith KP

JavaFX - Impress your lover [juZt 4 fUn] V.2.0

V.1.0 => http://terminalcoders.blogspot.in/2013/06/javafx-impress-your-lover-juzt-4-fun.html

I have added a simple animation to my previous post.

 Source Code

Ajith KP

Merge Sort [CPP]

Merge sort is sorting technique used to merge and sort two sorted lists.
If the two lists are not sorted we have to sort it before merge.

Merge Sort

Source Code