# All Hard Articles Basic Easy Medium Hard Expert All Categories Arrays Misc Program Output Strings Linked Lists Bit Magic Articles Trees MCQ GFacts Interview Experiences GBlog Stack Queue Algorithm Analysis Dynamic Programming Greedy Backtracking Pattern Searching Divide and Conquer Searching Sorting Mathematical Geometric Heap Hash Randomized Combinatorial Matrix Binary Search Tree Advanced Data Structure Project Technical Scripter Python Competitive Programming Internship Experienced TechTips Geek on the Top Branch and Bound Game Theory Computer Networks Operating Systems DBMS GATE CS SQL Java Compiler Design Recursion Puzzles C C++ Data Structures Graph School Programming Design Pattern Articles Placements QA – Placements Reasoning – Placements English – Placements DI – Placements Aptitude Web technologies Python-Quizzes QA – Placement Quizzes C Quiz C++ Quiz Java Quiz GATE Operating Systems DBMS Quiz Computer Networks Quiz Data Structures Algorithms Compiler Design Computer Organization and Architecture Digital Electronics & Logic Design Theory of Computation & Automata Computer Organization & Architecture Engineering Mathematics Difference Between Advanced Computer Subject C Programs C++ Programs Java Programs Python Programs Web Technologies JavaScript Linux-Unix

## WebCam Motion Detector in Python November 23, 2017 4.3

This python program will allow you to detect motion and also store the time interval of the motion. Requirement: Python3 OpenCV(libraries) Pandas(libraries) Install Requirments :… Read More »

## Given two numbers a and b find all x such that a % x = b November 21, 2017 4

Given two numbers a and b find all x such that a % x = b . Examples: Input : a = 21, b =… Read More »

## Website Blocker Using Python November 20, 2017 4.3

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 »

## Find a Number X whose sum with its digits is equal to N November 19, 2017 4

Given a positive number N. We need to find number(s) such that sum of digits of those numbers to themselves is equal to N. If… Read More »

## Prime factors of a big number 4

Given a number N, print all the prime factors and their powers. Here N

## The painter’s partition problem 4

We have to paint n boards of length {A1, A2…An}. There are k painters available and each takes 1 unit time to paint 1 unit… Read More »

## GCD of array is greater than one November 17, 2017 4

Given an array of n integers. The array is considered best if GCD of all its elements is greater than 1. If the array is… Read More »

## Sorting using trivial hash function November 15, 2017 4.4

Sorting using trivial hash function. Examples: Input : 9 4 3 5 8 Output : 3 4 5 8 9 We have read about various… Read More »

## Iterative diagonal traversal of binary tree 4

Consider lines of slope -1 passing between nodes. Given a Binary Tree, print all diagonal elements in a binary tree belonging to same line. Input… Read More »

## Find if there is a rectangle in binary matrix with corners as 1 4

There is a given binary matrix, we need to find if there exists any rectangle or square in the given matrix whose all four corners… Read More »

## Finding the best fit rectangle that covers a given point November 14, 2017 4

We are provided with a 2D plane and a point (, ). We have to find a rectangle (, , , ) such that itencompasses… Read More »

## Maximum of smallest possible area that can get with exactly k cut of given rectangular 4

Given n×m big rectangular area with unit squares and k times cut is allowed, the cut should be straight (horizontal or vertical) and should go… Read More »

## Largest smaller number possible using only one swap operation November 11, 2017 4

Given a non-negative number N in the form of string. The task is to apply at most one swap operation on the number N so… Read More »

## Program for Optimal Page Replacement Algorithm 4

Prerequisite: Page Replacement Algorithms In operating systems, whenever a new page is referred and not present in memory, page fault occurs and Operating System replaces… Read More »

## Representation of a number in powers of other November 10, 2017 4

Given two numbers w and m, we need to determine whether it is possible to represent m in terms of powers of w. The powers… Read More »

## Minimum 1s to lend power to make whole array powerful November 9, 2017 4

Given a binary array and an integer k where every 1 has power and it can lend power to neighbors and itself. A cell with… Read More »

## SQL | MERGE Statement November 7, 2017 4

Prerequisite – INSERT, UPDATE, DELETE The MERGE command in SQL is actually a combination of three SQL statements: INSERT, UPDATE and DELETE. In simple words,… Read More »

## Distinct permutations of the string | Set 2 November 4, 2017 4

Print all distinct permutation of a string having duplicates. Examples: Input : ABCA Output : AABC AACB ABAC ABCA ACBA ACAB BAAC BACA BCAA CABA… Read More »

## Lowe’s Company Interview Experience 4

Round 1: Online Test 15 MCQs+4Coding conducted in Hackerearth 15 MCQs consists of aptitude and c output questions. and 4 coding questions we need to… Read More »