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
Find a non empty subset in an array of N integers such that sum of elements of subset is divisible by N
Given an array of N integers, the task is to find a non-empty subset such that the sum of elements of the subset is divisible by N. Output any such subset with its size an...
Read More
Algorithms
Arrays
Java-HashMap
Pigeonhole Principle
DSA
Sum of K largest elements in BST using O(1) Extra space
Given a BST, the task is to find the sum of all elements greater than or equal to K-th largest element in O(1) space.Examples:Input : K = 3 8 / \...
Read More
Binary Search Tree
Advanced Data Structure
DSA
Perl | Operators | Set - 1
Operators are the main building block of any programming language. Operators allow the programmer to perform different kinds of operations on operands. In Perl, operators ...
Read More
Perl
perl-basics
perl-operators
Flatten a binary tree into linked list
Given a binary tree, flatten it into linked list in-place. Usage of auxiliary data structure is not allowed. After flattening, left of each node should point to NULL and r...
Read More
Tree
Recursion
C++
Data Structures
C++ Programs
DSA
Difference between Servlet and JSP
Brief Introduction: Servlet technology is used to create a web application. A servlet is a Java class that is used to extend the capabilities of servers that host applicat...
Read More
Java
java-servlet
Java-JSP
HTML <Object> tag
The object tag is used to display multimedia like audio, videos, images, PDFs, and Flash on web pages. It can also be used for displaying another webpage inside the HTML p...
Read More
Web Technologies
Picked
HTML-Tags
HTML
Count no. of characters and words in a string in PL/SQL
Prerequisite - PL/SQL introductionIn PL/SQL code groups of commands are arranged within a block. A block group related declarations or statements. In declare part, we decl...
Read More
SQL
SQL-PL/SQL
Swap two numbers in PL/SQL without using temp
In PL/SQL code groups of commands are arranged within a block. A block group related declarations or statements. In declare part, we declare variables and between begin an...
Read More
SQL
SQL-PL/SQL
No. of vowels and consonants in a given string in PL/SQL
Prerequisite - PL/SQL introductionIn PL/SQL code groups of commands are arranged within a block. A block group related declarations or statements. In declare part, we decl...
Read More
SQL
SQL-PL/SQL
PHP | php_strip_whitespace() Function
The php_strip_whitespace() is an inbuilt function in PHP which is used to remove all comments and whitespace from the source code.Syntax:string php_strip_whitespace ( $fil...
Read More
Web Technologies
PHP-function
PHP
PHP | gmdate() Function
The gmdate() is an inbuilt function in PHP which is used to format a GMT/UTC date and time and return the formatted date strings. It is similar to the date() function but ...
Read More
Web Technologies
PHP-function
PHP-date-time
PHP
PHP | doubleval() Function
The doubleval() is an inbuilt function in PHP which is used to get a float value of a variable. This function is an alias of floatval().Syntax:doubleval ( $variable_name )...
Read More
Misc
Excel VBA | count() functions
Visual Basic for Applications (VBA) is the programming language of Excel and other offices. It is an event-driven programming language from Microsoft.With Excel VBA one ca...
Read More
Excel
Integer toString() in Java
The java.lang.Integer.toString() is an inbuilt method in Java which is used to return the String object representing this Integer's value.Syntax : public static String to...
Read More
Java
Java-lang package
Java-Functions
Java-Integer
Unknown facts of Networking
Some interesting facts about computer networking are:Internet was invented by ARPANET in 1983.Internet is controlled by 75 million servers.The backbone of the internet is ...
Read More
Misc
1
...
11178
11179
11180
...
11582