Code4Fun

fun coding while sharing knowledge

Recent Posts

Nth Fibonacci Number Using Dynamic Programming

Factorial of a number

Convert a number to its binary value

Finding the greatest common divisor using Euclidean algorithm

Insertion Sort

Merge Sort

Bubble Sort in Java

Selection Sort

Reading a File Using Streams

This program reads in a file as a List of String then prints each line using Lambda

Observing Changes in Directory Using WatchService

This piece of code observes changes made to a directory

Categories

Tags

Insertion sort merge sort merging generic arrays sort