Darsh seemingly down-to-earth guy. Dash has a Brother Nathan. Nathan leads a life of a computer hacker by day and a thief by night. One day,…
Simon is studying B.Tech.-Mechanical Engineering. He’s going to attend a computer science-based subject exam this semester. Due to the less preparation in the previous monthly…
Aaron is an engineering graduate who received a call from the industry for an interview several months after graduation. So he was practicing the recursion method…
Janu and Ram are close friends who task a lot about life. They go though a lot of inspiring “Quotes of Life”. One fine day…
Roopa has given a program to her close friend Jhansi in the apartment where she lives. The task is if the number is given it…
Not everyone probably knows that Nivin has younger brother Nithin. Currently Nithin learns to read. He knows some subset of the letter of Latin alphabet.…
For a string S let the unique set of characters that occur in it one or more times be C. Consider a permutation of the…
Lokesh have been given a String S consisting of uppercase and lowercase English alphabets. Lokesh need to change the case of each alphabet in this String. That is,…
Hassan is given a string containing characters A and B only. Your task is to change it into a string such that there are no…
Fazil’s faculty gave him a string S consisting of only 1s and 0s and he need to find the number of sub-strings which start and…
Find the start and end index of unsorted subarray such that sorting this subarray can sort all the array. INPUT_1:Array: 2 6 4 8 10 …
There are N students standing in a row and numbered 1 through N from left to right. You are given a string S with length…
Jocelyn’s skill is to write stories of letters. But she finds it very boring to write the story, and after three hours of work, Jocelyn realizes…
Nathan is a Researcher in English Literature. According to him string which when split in the middle, gives two halves having the same characters and…
Ganapathy the Mathematics professor distributed the answer sheets for his students after the examination. His class had students who have passed the exam as well…
Given an integer array nums, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole…
Laaysa with his friends going to the theatre for a movie. The seating arrangement is triangular in size. Theatre staffs insisted the audience to sit…
Asraf has N lights, arranged in a line, with him. A[i] denotes the initial state of ‘i’th light. He wants to toggle some lights, but…
Given an array of distinct n integers. The task is to check whether reversing one sub-array make the array sorted or not. If the array…
Three arrays of same size are given. Find a triplet maximum – minimum (descending order max to min) in such that triplet is minimum of…