## Invert actual bits of a number

Given a non-negative integer n. The problem is to invert the bits of n and print the number obtained after inverting the bits. Note that… Read More »

Featured Article

Given a non-negative integer n. The problem is to invert the bits of n and print the number obtained after inverting the bits. Note that… Read More »

Featured Article

Given an array of positive distinct integers. We need to find the only element whose replacement with any other value makes array elements distinct consecutive.… Read More »

Featured Article

Google Guava is an open-source(a decentralized software-development model that encourages open collaboration) set of common libraries for Java, mainly developed by Google engineers. It helps… Read More »

Given a number n , the task is to find nth Centered Square Number. Centered Square Number is a centered figurate number that gives the… Read More »

C compiler is pretty vague in many aspects of checking program correctness, particularly in type checking. Careful use of prototyping of functions can assist modern… Read More »

Round 1 : Telephonic Round 1. SIP registration 2. SIP call b/w user-agent A to user-agent B 3. What is dialogue, transaction, session 4. What… Read More »

Given two points coordinates (x1, y1) and (x2, y2)on 2D plane. The task is to find the reflection of (x1, y1) at 180 degree rotation… Read More »

Given a positive integer n. The task is to find the sum of the sum of square of first n natural number. Examples: Input :… Read More »

Given a rectangle, your task to fill this rectangle using flood fill algorithm. Examples: Input : rectangle(left = 50, top = 50, right= 100, bottom… Read More »

JSlider is a part of Java Swing package . JSlider is an implementation of slider. The Component allows the user to select a value by… Read More »

Given a matrix m[][] of size n x n. The task is to check whether given matrix is Hankel Matrix or not. In linear algebra,… Read More »

Amazon Web Services (AWS): Amazon Web Services (AWS) is a secure cloud services platform, offering compute power, database storage, content delivery and other functionality to… Read More »

Prerequisite – Introduction, Process Scheduler States of a process are as following: New (Create) – In this step process is about to create but not… Read More »

Prerequisite – Multiple Access Protocols This method was developed to decrease the chances of collisions when two or more stations start sending their signals over… Read More »

Given n wines in a row, with integers denoting the cost of each wine respectively. Each year you can sale the first or the last… Read More »

Given a string S consisting of only characters ‘a’ and ‘b’, and an integer N. The string S is added N times to obtain string… Read More »

Given a string of lowercase alphabets, the task is to find indexes of a substring with given power. Assume power of a to be 1,… Read More »

Given coordinates of two pivot points (x0, y0) & (x1, y1) in coordinates plane. Along with each pivot, two different magnets are tied with the… Read More »