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...
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...
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...