## Reverse a Linked List

Objective: Reverse the given linked list. Input: A Linked List Output: Reversed Linked List Example: Input : ->30->25->20->15->10->5 Reversed : ->5->10->15->20->25->30 NOTE : Click Reverse a Linked List – Part 2 to see the...

Skip to content# Category: Beginner

## Reverse a Linked List

## Singly Linked List Implementation

## Find a pair of numbers from an array whose sum equals k

## Check If String has All Unique Characters

## Find Whether Given String is palindrome or Not.

## Find a peak element in a Given Array

## Find two Missing Numbers in a Sequence of Consecutive Numbers

## Find a Missing Number From a Sequence of Consecutive Numbers

## Hash Table Implementation

## Binary Search

@tutorialhorizon

Objective: Reverse the given linked list. Input: A Linked List Output: Reversed Linked List Example: Input : ->30->25->20->15->10->5 Reversed : ->5->10->15->20->25->30 NOTE : Click Reverse a Linked List – Part 2 to see the...

Linked List- As the name suggests it’s a list which is linked. Linked List consist of Nodes Nodes are nothing but objects of a class and each node has data and a link to...

Objective: Write an algorithm to find out whether in a given array there exists or not two numbers whose sum is exactly equals to a given number. This problem has been asked in Amazon...

Objective: Write an algorithm to find out whether in a given string contains all the unique characters. This question has been asked in the Amazon and Microsoft interviews. Input: A String Output: True or...

Objective : Write an algorithm to find Whether Given String is palindrome or Not. Input: A String, Output: true or false on whether string is palindrome or not Approach: Use recursive approach Compare first...

Objective : In this article we will discuss an algorithm to Find a peak element in a Given Array. We will see the recursion techniques to solve this problem. Peak Element: peak element is...

Objective : Write an algorithm to find two Missing Numbers in a Sequence of Consecutive Numbers Input: Array, arrA[] with two missing numbers and Range Output : Two missing numbers Approach: Approach is very...

Objective : You have been asked to Write an algorithm Find a Missing Number From a Sequence of Consecutive Numbers Input: Array, arrA[] with a missing number and Range Output : missing number Approach: Approach...

Objective : To implement a Hash Table Input: A set of pairs of keys and values Approach: Create a Hash Table Hashtable<Integer, String> ht = new Hashtable<Integer, String>(); Insert values in hash table using...

Objective : Write an algorithm to find an element in an sorted array Input: A sorted array, arrA[] and an key Output : Return true if element is found, else false. Approach: The idea...

%d bloggers like this: