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
Java Program to Find Area of Rectangle Using Method Overloading
A rectangle is a simple flat figure in a plane. It has four sides and four right-angles. In a rectangle all four sides are not of equal length like a square, sides opposit...
Read More
Java
Java Programs
Picked
Sum of Array Divisible by Size with Even and Odd Numbers at Odd and Even Index in Java
Given an array arr[] of size N, Convert the given array as even numbers in the array occurs at the odd index, odd numbers in the array occur at the even index, and whether...
Read More
Java
Technical Scripter
Java Programs
Technical Scripter 2020
How to Override toString Method for ArrayList in Java?
Every class in java is a child of Object class either directly or indirectly. toString() is present in Object class. The toString method returns a string representation of...
Read More
Java
Java Programs
Java-ArrayList
Picked
Python - Sort Matrix by K Sized Subarray Maximum Sum
Given Matrix, write a Python program to sort rows by maximum of K sized subarray sum.Examples:Input : test_list = [[4, 3, 5, 2, 3], [6, 4, 2, 1, 1], [4, 3, 9, 3, 9], [5, 4...
Read More
Python
Python Programs
Python list-programs
Java Program to Guess a Random Number in a Range
Write a program that generates a random number and asks the user to guess what the number is. If the user’s guess is higher than the random number, the program should disp...
Read More
Java
Technical Scripter
Java Programs
Picked
Technical Scripter 2020
Java Program to Implement wheel Sieve to Generate Prime Numbers Between Given Range
A prime number is a whole number greater than 1, which is only divisible by 1 and itself. The first few prime numbers are 2 3 5 7 11 13 17 19 23. Given a range, L to R, th...
Read More
Java
Technical Scripter
Java Programs
Picked
Technical Scripter 2020
Java Program to Delete a Node From the Middle of the Circular Linked List
In this article, we are going to learn to delete the middle node from the circular Linked List in java. The approach we are going to follow for this program is, first we c...
Read More
Java
Technical Scripter
Java Programs
Picked
Technical Scripter 2020
Python - Find Product of Index Value and find the Summation
Given a List of elements, write a Python program to perform the product of index and value and compute the summation.Examples:Input : test_list = [5, 3, 4, 9, 1, 2]Output ...
Read More
Python
Python Programs
Python list-programs
Python - Merge Dictionaries List with duplicate Keys
Given two List of dictionaries with possible duplicate keys, write a Python program to perform merge.Examples:Input : test_list1 = [{"gfg" : 1, "best" : 4}, {"geeks" : 10,...
Read More
Python
Python Programs
Python list-programs
Python dictionary-programs
Python - N sized substrings with K distinct characters
Given a String, the task is to write a Python program to extract strings of N size and have K distinct characters.Examples:Input : test_str = 'geeksforgeeksforgeeks', N = ...
Read More
Python
Python Programs
Python list-programs
Python string-programs
Java Program to Find the Roots of Quadratic Equation
The roots of a function are the x-intercepts. By definition, the y-coordinate of points lying on the x-axis is zero. Therefore, to find the roots of a quadratic function, ...
Read More
Java
Java Programs
Picked
Removing Element from the Specified Index in Java ArrayList
The remove(int index) method present in java.util.ArrayList class removes the element at the specified position in this list and shifts any subsequent elements to the left...
Read More
Java
Java-Collections
Java Programs
Java-ArrayList
Picked
Java Program to Check if a Given Number is Perfect Number
A number is said to be a perfect number if the sum of its proper divisors ( i.e. all positive divisors excluding the number itself )is equal to that number itself. Aliquot...
Read More
Java
Technical Scripter
Java Programs
Picked
Technical Scripter 2020
Java Program to Find Area of Square Using Method Overloading
A square is a simple flat shape in a plane, defined by four points at the four corners. It has four sides with equal length and four corners with right angles.Method Overl...
Read More
Java
Java Programs
Picked
Java Program to Find Area of circle Using Method Overloading
A circle is a simple shape consisting of all the points in the plane that are equidistant from a point known as the center of the circle. In this article, we will learn ho...
Read More
Java
Java Programs
Picked
1
...
6909
6910
6911
...
11360