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 Generate Random Numbers Using Multiply with Carry Method
In computer science, multiply-with-carry (MWC) is a method invented by George Marsaglia for generating sequences of random integers based on an initial set from two to man...
Read More
Java
Technical Scripter
Java Programs
Picked
Technical Scripter 2020
Java Program to Print the Multiplication Table in a Triangle Form
In this form, a table is displayed row and column-wise, in such a way such that in every row, only the entries up to the same column number filled.Example:Input : rows = 6...
Read More
Java
Technical Scripter
Java Programs
Picked
Technical Scripter 2020
Determining the IP Address & Hostname of Local Computer in Java
IP Address Stands for Internet Protocol Address, is a numeric label that is assigned uniquely to each device connected within a computer network that uses the internet pro...
Read More
Java
Technical Scripter
Picked
Technical Scripter 2020
Class Loading and Static Blocks Execution Using Static Modifier in Java
Static is a keyword which when attached to the method, variable, Block makes it Class method, class variable, and class Block. You can call a static variable/method using ...
Read More
Java
Technical Scripter
Static Keyword
Picked
Technical Scripter 2020
Python - Value limits to keys in Dictionaries List
Given a Dictionaries list, write a Python program to assign limits to each key in dictionary list.( each having all keys ).Examples:Input : test_list = [{"gfg" : 4, "is" :...
Read More
Python
Python Programs
Python list-programs
Python dictionary-programs
Python program to test for Non-neighbours in List
Given two elements, write a Python program to check that they don't occur as their neighbors in the list.Examples:Input : test_list = [3, 7, 2, 1, 4, 5, 7, 9], i, j = 7, 4...
Read More
Python
Python Programs
Python list-programs
Python - Element wise Matrix Difference
Given two Matrixes, the task is to write a Python program to perform element-wise difference.Examples:Input : test_list1 = [[2, 4, 5], [5, 4, 2], [1, 2, 3]], test_list2 = ...
Read More
Python
Python Programs
Python list-programs
How to Set Direction to the Text in Cell using Java?
Apache POI is an open-source library by Apache which can be used to create, modify and display files MS office file in Java. It provides classes and methods to do so. This...
Read More
Java
Technical Scripter
Java Programs
Picked
Technical Scripter 2020
Java Program to Find the Area of Rhombus
A rhombus is a quadrilateral whose four sides all have the same length and a rhombus is also called an equilateral quadrilateral.The formula for finding the area of a rhom...
Read More
Java
Java Programs
Picked
Python - Remove Columns of Duplicate Elements
Given a Matrix, write a Python program to remove whole column if duplicate occurs in any row.Examples:Input : test_list = [[4, 3, 5, 2, 3], [6, 4, 2, 1, 1], [4, 3, 9, 3, 9...
Read More
Python
Python Programs
Python list-programs
Java Program to Convert Octal to Binary
Given an Octal number as input, the task is to convert that number into its Binary equivalent number.Example:Input: Octal Number = 513Output: Binary equivalent value is: 1...
Read More
Java
Technical Scripter
Java Programs
Picked
Technical Scripter 2020
Java Program to Implement Sieve of Eratosthenes to Generate Prime Numbers Between Given Range
A number which is divisible by 1 and itself or a number which has factors as 1 and the number itself is called a prime number. The sieve of Eratosthenes is one of the most...
Read More
Java
Technical Scripter
Java Programs
Picked
Technical Scripter 2020
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
1
...
6810
6811
6812
...
11276