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
Web Design
Web Browser
CP Live
Aptitude
Puzzles
Projects
GBlog
Complete DevOps Roadmap - Beginner to Advanced
DevOps is considered a set of practices that combines the abilities of Software Development i.e Dev and IT Operations i.e Ops together, which results in delivering top-not...
Read More
Python - Sort from Kth index in List
Given a list of elements, perform sort from Kth index of List.Input : test_list = [7, 3, 7, 6, 4, 9], K = 2Output : [7, 3, 4, 6, 7, 9]Explanation : List is unsorted till 3...
Read More
Python
Python Programs
Python list-programs
Python - Elements Maximum till current index in List
Given list with elements, extract element if it's the maximum element till current index.Input : test_list = [4, 6, 7, 8]Output : [4, 6, 7, 8]Explanation : All elements ar...
Read More
Python
Python Programs
Python loop-programs
Python - Multiplication across Like Keys Value list elements
Given two dictionaries with value lists, perform element wise like keys multiplication.Input : test_dict1 = {"Gfg" : [4, 6], "Best" : [8, 6], "is" : [9, 3]}, test_dict2 = ...
Read More
Python
Python Programs
Python list-programs
Python dictionary-programs
Python - Append Dictionary Keys and Values ( In order ) in dictionary
Given a dictionary, perform append of keys followed by values in list.Input : test_dict = {"Gfg" : 1, "is" : 2, "Best" : 3}Output : ['Gfg', 'is', 'Best', 1, 2, 3]Explanati...
Read More
Python
Python Programs
Python dictionary-programs
Count of distinct Primonacci Numbers in a given range [L, R]
Given two integers [L, R], the task is to count the number of Primonacci Numbers in the range [L, R].Primonacci Series:F(1) = F(2) = 1F(3) = 3 - F(3 - 2) = F(1) = 1F(4) = ...
Read More
Dynamic Programming
sieve
Prime Number
Recursion
HashSet
frequency-counting
DSA
Queries to count distinct Binary Strings of all lengths from N to M satisfying given properties
Given a K and a matrix Q[][] consisting of queries of the form {N, M}, the task for each query is to count the number of strings possible of all lengths from Q[i][0] to Q[...
Read More
Strings
Dynamic Programming
Mathematical
binary-string
prefix-sum
DSA
Get month and Year from Date in Pandas - Python
Pandas is one of the most powerful library in Python which is used for high performance and speed of calculation. It is basically an open-source BSD-licensed Python librar...
Read More
Python
Python-pandas
Python pandas-dataFrame
Memory profiling in Python using memory_profiler
If you use Python a lot then you probably know that many people claim that Python takes up more time to execute. Well, you probably have seen approaches like the total tim...
Read More
Python
python-utility
python-modules
Check if a column starts with given string in Pandas DataFrame?
In this program, we are trying to check whether the specified column in the given data frame starts with specified string or not.Let us try to understand this using an exa...
Read More
Python
Python-pandas
Python pandas-dataFrame
Python Pandas-exercise
How to Change a Dictionary Into a Class?
Working with Dictionary is a good thing but when we get a lot of dictionaries then it gets tough to use. So let's understand how we can convert a dictionary into a class.A...
Read More
Python
python-dict
Picked
Python-OOP
Python Oops-programs
Set Pandas dataframe background Color and font color in Python
As we know, the basic idea behind styling is to make more impactful for the end-user readability. We can make changes like the color and format of the data visualized in o...
Read More
Python
Python-pandas
Python pandas-dataFrame
pandas-dataframe-program
Python Pandas-exercise
How to convert index in a column of the Pandas dataframe?
Each row in a dataframe (i.e level=0) has an index value i.e value from 0 to n-1 index location and there are many ways to convert these index values into a column in a pa...
Read More
Python
Python-pandas
Python pandas-dataFrame
Python Pandas-exercise
Simple Port Scanner using Sockets in Python
Prerequisites: Socket Programming in PythonBefore going to the programming, let us discuss about ports. In this article, we will check the virtual ports of a server or web...
Read More
Python
Picked
Python-socket
Count of Binary Strings possible as per given conditions
Given two integers N and M, where N denotes the count of '0' and M denotes the count of '1', and an integer K, the task is to find the maximum number of binary strings tha...
Read More
Strings
Greedy
Mathematical
Combinatorial
binary-string
Permutation and Combination
DSA
Why floating-point values do not represent exact value
The floating-point numbers serve as rough approximations of mathematical real numbers. They do not represent the exact value. For this reason, we compare the arithmetic re...
Read More
C Programs
C++ Programs
How To
1
...
7137
7138
7139
...
10982