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
PHP | function_exists() Function
The function_exists() is an inbuilt function in PHP. The function_exists() function is useful in case if we want to check whether a function() exists or not in the PHP scr...
Read More
Web Technologies
PHP-function
PHP
Pythagorean Triplet with given sum
A Pythagorean Triplet is a set of natural numbers such that a b c, for which a^2 + b^2 = c^2. For example, 3^2 + 4^2 = 5^2.Given a number n, find a Pythagorean Triplet w...
Read More
Mathematical
programming-puzzle
DSA
PHP | Find the number of sub-string occurrences
We are given two strings s1 and s2. We need to find the number of occurrences of s2 in s1. Examples:Input : $s1 = "geeksforgeeks", $s2 = "geeks"Output : 2Explanation : s2 ...
Read More
Web Technologies
PHP-string
PHP
Array to Stream in Java
Prerequisite : Stream In JavaUsing Arrays.stream() : Syntax :public static T StreamT getStream(T[] arr){ return Arrays.stream(arr);}where, T represents generic type.Exam...
Read More
Misc
Java
Java - util package
Java-Arrays
java-stream
Java-Stream-programs
Java-Array-Programs
Static Data Structure vs Dynamic Data Structure
Data structure is a way of storing and organizing data efficiently such that the required operations on them can be performed be efficient with respect to time as well as ...
Read More
Arrays
Misc
Data Structures
DSA
PHP to check substring in a string
In this article, we will see how to check the substring in a string. We are given two strings we have to check whether the second string is a substring of the first strin...
Read More
Web Technologies
PHP-string
PHP
Arraylist.contains() in Java
In Java, ArrayList contains() method in Java is used for checking if the specified element exists in the given list or not.Syntax of Java ArrayList contains() :public bool...
Read More
Java
Java-Collections
Java - util package
Java-ArrayList
java-list
Coordinates of rectangle with given points lie inside
Given two arrays X[] and Y[] with n-elements, where (Xi, Yi) represent a point on coordinate system, find the smallest rectangle such that all points from given input lie ...
Read More
Geometric
square-rectangle
DSA
Basic Coding Problems
ArrayList trimToSize() in Java with example
The trimToSize() method of ArrayList in Java trims the capacity of an ArrayList instance to be the list's current size. This method is used to trim an ArrayList instance t...
Read More
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayList
java-list
ArrayList isEmpty() in Java with example
The isEmpty() method of ArrayList in java is used to check if a list is empty or not. It returns true if the list contains no elements otherwise it returns false if the li...
Read More
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayList
java-list
Recursive Practice Problems with Solutions
Basics - RecursionRecursive FunctionsTail RecursionStrings -Given a string, print all possible palindromic partitionsCheck if a number is PalindromePrint all possible stri...
Read More
Algorithms
Recursion
Data Structures
tail-recursion
DSA
Which Programming Language to Choose?
One of the most annoying question today is which programming language should be chosen for the sake of education/career or anything. Answer for this question to many progr...
Read More
GBlog
Technical Scripter
Programming Language
Programming
Python Tuples
Python Tuple is a collection of Python Programming objects much like a list. The sequence of values stored in a tuple can be of any type, and they are indexed by integers....
Read More
Python
python-tuple
Python Sets
Python Set is an unordered collection of data types that is iterable, mutable, and has no duplicate elements. The order of elements in a set is undefined though it may con...
Read More
Python
python-set
Python-Built-in-functions
PHP chop() Function
The chop() in PHP is used to remove white spaces or any other specified characters from the end of a string.Syntax:string chop($string, $character)Parameters: This functio...
Read More
Web Technologies
PHP-string
PHP
1
...
11183
11184
11185
...
11329