# Check if a number is Panagram or Not

Given a number N containing even number of digits. The task is to check whether that number is palindrome or not. Input : N = 10239876540022Output : YesExplanation: N contains all the digits from 0 to 9. Therefore, it is a pangram. Simple Approach: 1. Given a number containing digits from 0 to 9  in any order. 2. We need to first convert it into string … Continue reading Check if a number is Panagram or Not

# How to execute a Java Program in Command Prompt ?

In this blog we have shown how to execute any java program easily using command prompt

# Tower of Hanoi Using Recursion

Tower of Hanoi Using Recursion The tower of Hanoi is a famous puzzle where we have three rods and N disks. The objective of the puzzle is to move the entire stack to another rod. You are given the number of discs N. Initially, these discs are in the rod 1. You need to print all the steps of discs movement so that all the discs reach the 3rd rod. Also, you need to find the total moves. Note: The discs are arranged such that the top disc is numbered 1 and the bottom-most disc is numbered N. Also, all the discs have different sizes and a bigger disc cannot be put on the top of a smaller disc. Refer the provided link to get a better clarity about the puzzle.

# Insert a node at a specific position in a linked list HackerRank Solution.

Insert a node at a specific position in a linked list HackerRank Solution. You’re given the pointer to the head node of a linked list, an integer to add to the list and the position at which the integer must be inserted. Create a new node with the given integer, insert this node at the desired position and return the head node.