Latest Post

POPULAR POST

Find the smallest element in an array

Problem Statement: Given an array, we have to find the smallest element in the array. Examples: Example 1: Input: arr = {2,5,1,3,0}; Output: 0 Explanation: 0 is the smallest element...

Check if a number is Palindrome or Not

Problem Statement:  Given a number check if it is a palindrome. An integer is considered a palindrome when it reads the same backward as forward. Examples: Example...

Find middle element in a Linked List

Problem Statement: Given the head of a singly linked list, return the middle node of the linked list. If there are two middle nodes, return the second middle...

You cannot copy content of this page