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
Count occurrences of elements of list in Java
Suppose we have an elements in ArrayList, we can count the occurrences of elements present in a number of ways.HashMapThis data structure uses hash function to map similar...
Read More
Java
Java Programs
Java-HashMap
frequency-counting
java-TreeMap
java-hashset
java-list
Java-List-Programs
Java-Map-Programs
PHP | fgets( ) Function
The fgets() function in PHP is an inbuilt function which is used to return a line from an open file. It is used to return a line from a file pointer and it stops return...
Read More
Web Technologies
PHP-function
PHP
PHP | gmp_rootrem() Function
The gmp_rootrem() is a built-in function in PHP which is used to calculate the nth root of a GMP number (GNU Multiple Precision : For large numbers) and returns the intege...
Read More
Web Technologies
PHP
PHP | is_bool()
is_bool() is an inbuilt function in php. The is_bool() function is used to find whether a variable is a boolean or not.Syntax:boolean is_bool($variable_name)$variable_name...
Read More
Web Technologies
PHP-function
PHP
Lex Program to Identify and Count Positive and Negative Numbers
Given some numbers, task is to identify the positive and negative numbers and print the count of negative and positive numbers.Prerequisite: Flex (Fast lexical Analyzer Ge...
Read More
Compiler Design
Lex program
Latin alphabet cipher
The Latin Alphabet Cipher Encryption Technique is one of the earliest and simplest techniques of encrypting data. It’s simply a type of substitution cipher technique, i.e....
Read More
Misc
Strings
cryptography
School Programming
DSA
What is the Difference between Website and Web Portal
What is most confusing to people starting off their web journey is the difference between a website and a web portal. When asked people who had layman knowledge on the sub...
Read More
Web Technologies
Deploying Scrapy spider on ScrapingHub
What is ScrapingHub ?Scrapy is an open source framework for web-crawling. This framework is written in python and originally made for web scraping. Web scraping can also b...
Read More
Misc
Python
Web Technologies
python-utility
Maximum average sum partition of an array
Given an array, we partition a row of numbers A into at most K adjacent (non-empty) groups, then the score is the sum of the average of each group. What is the maximum sco...
Read More
Arrays
DSA
Find n-variables from n sum equations with one missing
You are given an array a[] of n values as a[1], a[2]...a[n] which are part of n-equations in n-variables where equations are as:Eqn1 = X2 + X3 +.....+Xn = a1Eqn2 = X1 + X3...
Read More
Arrays
Mathematical
Algebra
DSA
PHP 7 | Spaceship Operator
This article will make you aware of a very useful operator i.e the spaceship operator PHP 7. The spaceship operator or combined comparison operator is denoted by "". This ...
Read More
Web Technologies
PHP-function
PHP
PHP-Operators
Probabilistic shortest path routing algorithm for optical networks
Data transfer operations is a crucial aspect in case of networking and routing. So efficient data transfer operations is a must need, with minimum hardware cost (Optical C...
Read More
Misc
Algorithms
Analysis of Algorithms
Mathematical
Python
Shortest Path
Computer Networks
DSA
Minimum rooms for m events of n batches with given schedule
There are n student groups at the school. On each day in school, there are m time slots. A student group may or may not be free during a time slot. We are given n binary s...
Read More
Arrays
Strings
Algorithms
Analysis of Algorithms
Greedy
binary-string
DSA
Reverse a number 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 decla...
Read More
DBMS
SQL
SQL-PL/SQL
Factorial of a number 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 decla...
Read More
DBMS
SQL
School Programming
SQL-PL/SQL
1
...
11306
11307
11308
...
11582