YES or YES?
There is a string s of length 3, consisting of uppercase and lowercase English letters. Check if it is equal to “YES” […]
Your blog category
There is a string s of length 3, consisting of uppercase and lowercase English letters. Check if it is equal to “YES” […]
Sravani likes the number 239. Therefore, she considers a number pretty if its last digit is 22, 33 or 99. Sravani wants to watch the numbers between 𝐿 and 𝑅 (both
Find a duplicate element in the given array of integers. There will be only a single duplicate element in the
Given a sentence S and a character ch, count occurrence of the given character in the sentence Input Format First
Given a matrix A of size N x M. Elements of the matrix are either 0 or 1. If A[i][j]
Given an Array, sort the array using the Quick sort algorithm. NOTE: Don’t use any inbuilt methods/libraries.
Given an array of elements containing 0’s and 1’s. You have to find the length of longest contiguous 1’s. Input
Given an integer array A of size N. You have to construct a new B array with a length of
Print hollow half inverted pyramid pattern using ‘*’. See example for more details. Input Format First and only line of