Hack with Infy Complete Study Materials, Complete Overview, Last Year Coding Questions, Interview Experiences Hack with Infy Overview | Eligibility | Pattern Hack with Infy Last Year Coding Questions...
Sam is given a rectangular paper having dimensions h*w, where h is the height and w is the width. Sam wants to fold the paper so its dimensions are...
Charlie wants to divide a big piece of waffle which is made up of m*n square pieces. Each piece is of size 1*1. The shape of waffle is a...
If you have ever looked at an assembly language dump of an executable file, you know that commands come in the form of hexadecimal digits that are grouped by...
You are given a string that is formed from only three characters ‘a’, ‘b’, ‘c’. You are allowed to change atmost ‘k’ characters in the given string while attempting...
An olive oil seller needs to measure oi; for customers using only one type of flask. There are many flasks available, each with marking at various levels. Each customer...
In Hackerland every character has a weight. The weight of an English uppercase alphabet A-Z is given below : A = 1 B = 2*A + A C =...
Dia, Sam, and Robert are the three students of a same class. You know their marks in ‘N’ subjects. Your job is to find their ranks according to their...
Given a string, count all distinct substrings of the given string. Example Input abcd Output 10 All Elements are Distinct Input aaa Output 6
Given a tree with N nodes we are required to seperate a connected component with exactly k nodes. You are given queries specifying this k. We need to find...