Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
How to update Sound Drivers in Windows PC?
Among all the Operating systems, Window's Operating System stands the most user-friendly GUI (Graphical User Interface) based OS because of its highly interactive mode wit...
Read More
Picked
Write From Home
How To
Minimize bits to be flipped in X and Y such that their Bitwise OR is equal to Z
Given three positive integers X, Y and Z, the task is to count the minimum numbers of bits required to be flipped in X and Y such that X OR Y (X | Y) is equal to Z.Example...
Read More
Bit Magic
Competitive Programming
C++ Programs
DSA
Convert the given RGB color code to Hex color code
Given three colors, such as R, G, and B, convert these RGB color to a hex color code. If the conversion is not possible, print -1.Examples:Input: R = 0, G = 0, B = 0Output...
Read More
Pattern Searching
Mathematical
base-conversion
DSA
Count of elements in an Array whose set bits are in a multiple of K
Given an array arr[] of N elements and an integer K, the task is to count all the elements whose number of set bits is a multiple of K.Examples:Input: arr[] = {1, 2, 3, 4,...
Read More
Arrays
Bit Magic
setBitCount
Greedy
Mathematical
Advanced Data Structure
DSA
Probability of getting K heads in N coin tosses
Given two integers N and R. The task is to calculate the probability of getting exactly r heads in n successive tosses.A fair coin has an equal probability of landing a he...
Read More
Mathematical
Combinatorial
DSA
Program to print numbers from N to 1 in reverse order
Given a number N, the task is to print the numbers from N to 1.Examples:Input: N = 10Output: 10 9 8 7 6 5 4 3 2 1Input: N = 7Output: 7 6 5 4 3 2 1 Approach 1: Run a loop f...
Read More
Arrays
Mathematical
Reverse
Recursion
School Programming
C++ Programs
Natural Numbers
DSA
Triple Quotes in Python
Spanning strings over multiple lines can be done using python's triple quotes. It can also be used for long comments in code. Special characters like TABs, verbatim or NEW...
Read More
Python
python-string
python-basics
Write From Home
Fog Computing
Fog Computing is the term coined by Cisco that refers to extending cloud computing to an edge of the enterprise's network. Thus, it is also known as Edge Computing or Fogg...
Read More
Computer Networks
Cloud-Computing
Write From Home
Difference between Static and Dynamic Hazard
1. Static Hazard : Static hazard occur in combinational circuits and can be eliminated by using redundant gates. Static hazard is further classified as:1. Static-1 hazard2...
Read More
GATE CS
Difference Between
Digital Logic
Difference between Register Mode and Register Indirect Mode
Prerequisite - Addressing Modes1. Register Mode: In register addressing mode, the operand is placed in one of the 8-bit or 16-bit general-purpose registers. The data is in...
Read More
GATE CS
Computer Organization & Architecture
Difference Between
Characteristics of Real-time Systems
Real-time System is a system that is put through real time which means response is obtained within a specified timing constraint or system meets the specified deadline.Rea...
Read More
Operating Systems
Difference between FCFS and SJF CPU scheduling algorithms
1. First Come First Served (FCFS) : First Come First Served (FCFS) is the simplest type of algorithm. It is a non-preemptive algorithm i.e. the process cannot be interrupt...
Read More
Operating Systems
GATE CS
Difference Between
Relationship between User level thread and Kernel level thread
Introduction:User-level threads and kernel-level threads are two different approaches to implementing thread management in an operating system.User-level threads are manag...
Read More
Operating Systems
GATE CS
Write From Home
Difference between 1NF and 2NF in DBMS
1. First Normal Form (1NF) :For any relation to be in the first normal form (1NF), the relation should not contain any composite or multi-valued attribute. So a relation w...
Read More
DBMS
GATE CS
Difference Between
Picked
Differences between Multiple Cycle Datapath and Pipeline Datapath
1. Multiple Cycle Datapaths: Multi-cycle datapaths break up instructions into separate steps. Each step takes a single clock cycle Each functional unit can be used more th...
Read More
GATE CS
Computer Organization & Architecture
Difference Between
Write From Home
1
...
8564
8565
8566
...
11536