Given an integer N(N > 1), the task is to arrange all integers from the range [1, N] in an array such that none of… Read More

All Hard Articles

I applied for the role of SDE I through Amazon WOW drive 2020. There were a total of 5 rounds (1 coding test + 4… Read More

Given a Binary Tree and an integer target, denoting the value of a node, the task is to find the sum of distances of all… Read More

In this article, we will learn how to draw lines using the keyboard (arrow keys) in the turtle graphics. Let’s first discuss some methods used… Read More

In this article, we will learn how to draw lines at any position which is clicked by the mouse using a turtle module. Turtle graphics: … Read More

In this article, we will be explaining the steps and various logic required in making of the famous Pig Game, which is a virtual dice… Read More

In this article, we are going to learn how to draw the shape of a Diamond using turtle graphics in Python. Turtle graphics: forward(length): moves… Read More

Given an array A[] of size N(1 ≤ N ≤ 105), consisting of positive integers, where the score of an index i in range [0,… Read More

Cryptography is a technique of securing information and communications through the use of codes so that only those people for whom the information is intended… Read More

Online Assessment Test: The round consisted of four sections. Debugging (time constraint): There were 7 questions to be debugged. Coding Section (time constraint): There were… Read More

Resume Shortlisting: This round was very integral as many people were rejected in this round because their profile didn’t resonate with what the company was… Read More

Reversing a list means after reversing the list, the first element should be swapped with the last element, the second element should be swapped with… Read More

Given two integers r1 and r2, representing the radius of two circles, the task is to find the radius of the circle having area equal… Read More

This blog is for all those developers who started hiding their faces in front of senior engineers when they were caught red-handed because of the… Read More

Android Jetpack is a set of software components, libraries, tools, and guidance to help in developing robust Android applications. Launched by Google in 2018, Jetpack… Read More

Given two positive integers L and R, the task is to find the count of ordered pairs in the range [L, R] such that the… Read More

Flutter has made it simpler and easier to make a beautiful and interactive user interface. But there comes a problem faced by many flutter developers… Read More

Question 1. In Fig., PS is the bisector of ∠QPR of ΔPQR. Prove that QS/SR = PQ/PR. Solution: Given: PS is angle bisector of ∠QPR.… Read More

Given three integers N, A and B, the task is to calculate the probability that the sum of numbers obtained on throwing the dice exactly… Read More

Given an array arr[] of size N, the task is to find the minimum count of array elements found by applying the Randomized Binary Search… Read More