##
Special prime numbers
November 20, 2017

Given two numbers n and k, find whether there exist at least k Special prime numbers or not from 2 to n inclusively. A prime… Read More »

November 20, 2017

Given two numbers n and k, find whether there exist at least k Special prime numbers or not from 2 to n inclusively. A prime… Read More »

The divmod() method in python takes two numbers and returns a pair of numbers consisting of their quotient and remainder. Syntax : divmod(x, y) x… Read More »

This is real world program which blocks certain distracting website like Facebook, Youtube etc during your work hours. About the program : What we are… Read More »

Round 1:3 hours online coding round 3 hrs were given to solve 1 programming question. 50 test cases were there. All the 50 test cases… Read More »

I applied through an employee referral for SDET-1 position. I was interviewed at Amazon Chennai(SP Infocity).I faced 5 face to face rounds. On October 11th,… Read More »

Morgan Stanley: Given two arrays A, B and a required array wanted. You are given 8 functions each with a fixed length (example functions 1.… Read More »

Given N size of the original array, SUM total sum of all elements present in the array and K such that no element in array… Read More »

Many of us have encountered error ‘cannot covert std::string to char[] or char* data type’. Examples: Input : string s = “geeksforgeeks” ; Output :… Read More »

A charming number is a number which only consist 3 and 8 as its digits. We are given a n-digit number you have total of… Read More »

Given a string which contains lower alphabetic characters, we need to remove at most one character from this string in such a way that frequency… Read More »

Given an array of N elements and L and R, print the number of sub-arrays such that the value of the maximum array element in… Read More »

Given three numbers x, y and p, compute (x^y) % p Examples: Input: x = 2, y = 3, p = 5 Output: 3 Explanation:… Read More »

In Python, isalpha() is a built-in method used for string handling. The isalpha() methods returns “True” if all characters in the string are alphabets, Otherwise,… Read More »

fesetround() It sets the specified floating point rounding direction or the “current rounding direction” which is expected to be one of the floating point rounding… Read More »

Round 1: Written test The first round comprised of 25 one mark questions (without options) from C output questions and puzzle & general aptitude questions… Read More »