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
GBlog
Frontend Developer Roadmap 2024
Frontend development means to design the face of a website or application. It involves working on the appearance of the website. Building interactive buttons, using images...
Read More
Bitwise NOT operator in Golang
Bitwise NOT operator in the programming world usually takes one number and returns the inverted bits of that number as shown below:Bitwise NOT of 1 = 0Bitwise NOT of 0 = 1...
Read More
Picked
Go Language
Go-Operators
Difference between Native compiler and Cross compiler
1. Native Compiler :Native compiler are compilers that generates code for the same Platform on which it runs. It converts high language into computer's native language. Fo...
Read More
GATE CS
Compiler Design
Difference Between
Grammar Checker in Python using Language-check
Python is an open-source programming language. It offers a vast variety of libraries that provide greater functionalities. The one such library is language_check. The lang...
Read More
Python
Python Programs
python-utility
How to create a Struct Instance Using a Struct Literal in Golang?
A structure or struct in Golang is a user-defined data type which is a composition of various data fields. Each data field has its own data type, which can be a built-in o...
Read More
Picked
Go Language
Write From Home
Golang-Program
Find minimum number K such that sum of array after multiplication by K exceed S
Given an array arr[] of N elements and an integer S, the task is to find the minimum number K such that the sum of the array elements does not exceed S after multiplying a...
Read More
Arrays
Greedy
Mathematical
DSA
Lexicographically all Shortest Palindromic Substrings from a given string
Given a string s of size N. The task is to find lexicographically all the shortest palindromic substrings from the given string.Examples:Input: s= "programming"Output: a g...
Read More
Strings
Algorithms
Mathematical
Competitive Programming
Data Structures
lexicographic-ordering
substring
DSA
Difference Between Assembly Language And Machine Language
Machine language is the low-level programming language. It can only be represented by 0s and 1s. Earlier when we have to create pictures or show data on the screen of the ...
Read More
Computer Subject
Difference Between
Write From Home
Difference between From and Where Clause in SQL
1. FROM Clause:It is used to select the dataset which will be manipulated using Select, Update or Delete command.It is used in conjunction with SQL statements to manipulat...
Read More
DBMS
GATE CS
SQL
Difference Between
Picked
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
1
...
8325
8326
8327
...
11321