All Hard Articles
Given an array of n integers in non-decreasing order. Find the number of occurrences of the most frequent value within a given range. Examples:  Input… Read More
If half adders and full adders are implemented using gates, then for the addition of two 17 bit numbers (using minimum gates) the number of… Read More
Given L and R, find a possible non-transitive triplet (a, b, c) such that pair (a, b) is co-prime and pair (b, c) is co-prime… Read More
Given a 2-D matrix, find the element having maximum value using multi-threading. Prerequisite : Multithreading Examples : Input : {{1, 5, 3, 6}, {22, 10,… Read More
It says that there is always one prime number between any two consecutive natural number\’s(n = 1, 2, 3, 4, 5, …) square. This is… Read More
Round 1: k frequently words in a given file of huge data. Find index of distortion in a sorted but a little bit distorted array.… Read More
Fast inverse square root is an algorithm that estimates , the reciprocal (or multiplicative inverse) of the square root of a 32-bit floating-point number x in… Read More
You are given an array of n-elements, you have to find the number of subsets whose product of elements is less than or equal to… Read More
I applied in Walmart Labs through employee referral, next day got call from HR and asked me to brief about my work and how much I am… Read More
What can you say about the following statements ? I. XML tags are case-insensitive. II. In JavaScript, identifier names are case-sensitive. III.Cascading Style Sheets (CSS)… Read More
Sumo Logic visited our campus summer internship program. All candidates above 65% were allowed to sit for online round. Round 0:  This one was a 1hr… Read More
Round 1: Reverse bits of integer and give the resulting number. a/b/../c/d/e/…/f => a/c/f  => count of .  == n => go back (n-1) time… Read More
In 8085, which of the following performs : load register pair immediate operation? (A) LDAX rp (B) LHLD addr (C) LXI rp, data (D) INX… Read More
Drive was conducted for software developer (6 months work ex) Round 1: two written questions – https://www.hackerrank.com/challenges/candies/problem – Check if a binary tree is subtree of… Read More
A skew heap (or self – adjusting heap) is a heap data structure implemented as a binary tree. Skew heaps are advantageous because of their… Read More
A Pandigital Number is a number that makes the use of all digits 1 to 9 exactly once. We are given a number, we need… Read More
When we are writing any program in any language, we need to follow a standard structure for writing the program which is recommended by the… Read More
We are given an integer n and n-th term in a series as expressed below: Tn = n2 - (n-1)2 We need to find Sn… Read More
Given a string S of only small English letters. We need to transform the string by making some number of moves (any number of times)… Read More
Given an algebraic expression of the form (x1 + x2 + x3 + . . . + xn) * (y1 + y2 + . .… Read More