All Expert Articles
Given a positive integer n, print the inverse pyramid pattern upto n rows as shown in the examples.Examples :   Input : 4 Output : A… Read More
Given lists in a list, find the maximum sum of elements of list in a list of lists. Examples: Input : [[1, 2, 3], [4,… Read More
What is the probability of 3 students sharing a birthday in a class of 30 students is ________ . (A) 0.0300 (B) 0.7029 (C) 0.5604… Read More
Given a positive integer n as a dividend and another number m (a form of 2^k), find the quotient and remainder without performing actual division… Read More
Given an integer ‘n’, write a Python function that returns true if binary representation of x is palindrome else return false. Examples: Input : n… Read More
Ram is smarter than Mohan. Rakesh is smarter than Ramu and Mohini is smarter than Rakesh. Which of the following is a set(s) of additional… Read More
An equilateral triangle is a triangle in which all three sides and angles are equal. All three internal angles of equilateral triangle measures 60 degree.… Read More
Given n, find the greatest number which is strictly not more than n and whose binary representation consists of m consecutive ones, then m-1 consecutive… Read More
Given a list of N numbers, Find two numbers such that the product of the two numbers has the maximum number of factors. Formally given… Read More
This function is used to set the base to octal, decimal or hexadecimal. It sets the basefield format flag for the str stream to the… Read More
Python Program to Convert Kilometers to Miles in Python. A kilometer is a unit of length in the metric system equivalent to 1000 meters. Miles… Read More
A number is said to be a Peterson number if the sum of factorials of each digit of the number is equal to the number… Read More
In this program, we need to print the output of a given integer in international place value format and put commas at the appropriate place,… Read More
Round 1 : Online test  60 mcq Coding round. Passage writing. Round 2 : Technical Interview 1 First round was the online test which consists of… Read More
Insert the characters of the string K R P C S N Y T J M into a hash table of size 10. Use the… Read More
The notify() and notifyAll() methods with wait() methods are used for communication between the threads. A thread that goes into waiting for state by calling… Read More
A ROM is used to store the table for multiplication of two 8-bit unsigned integers. The size of ROM required is   (A) 256 x… Read More
The parallax scrolling effect in CSS involves moving background images at a slower rate than foreground content, creating an illusion of depth and immersion as… Read More
A Pierpont Prime is a prime number of the form p = 2l.3k + 1. First few Pierpont prime numbers are 2, 3, 5, 7,… Read More
Let G be the graph with 100 vertices numbered 1 to 100. Two vertices i and j are adjacent if |i−j|=8 or |i−j|=12. The number of… Read More