Reversing a linked list

  Problem We need to reverse theĀ given singly linked list. Solution We will take two pointers temp and next, both pointing to null, initially. We already have first pointer pointing…

Getting started with JPA & Hibernate

Introduction This tutorial intends to enable readers to quickly setup hibernate on their local machine and create a sample “Hello world” program where user persists the “Hello world” greeting in…

Singly Linked List

1. What is a Singly Linked List? A Singly Linked List is a linked list in which data can be traversed naturally in a single direction usually forward. The SinglyLinkedList…

Getting started with Activiti framework

Introduction Activiti is an open source framework which provides a complete Business Process Management solution. In laymen’s terms, activiti allows you to create automated processes where tasks get assigned to…

Linked Lists

1. What is a Linked List? A Linked list is a linear collection of data elements, called nodes, each pointing to the next node (and previous node in case of…