title stringlengths 3 221 | text stringlengths 17 477k | parsed listlengths 0 3.17k |
|---|---|---|
10’s Complement of a decimal number? | 9’s complement and 10’s complement are used to make the arithmetic operations in digital system easier. These are used to make computational operations easier using complement implementation and usually trade hardware usage to the program.
To obtain the 9’s complement of any number we have to subtract the number with (... | [
{
"code": null,
"e": 1302,
"s": 1062,
"text": "9’s complement and 10’s complement are used to make the arithmetic operations in digital system easier. These are used to make computational operations easier using complement implementation and usually trade hardware usage to the program."
},
{
... |
Land use/Land cover classification with Deep Learning | by Abdishakur | Towards Data Science | Identifying the physical aspect of the earth’s surface (Land cover) as well as how we exploit the land (Land use) is a challenging problem in environment monitoring and many other subdomains. This can be done through field surveys or analyzing satellite images(Remote Sensing). While carrying out field surveys is more c... | [
{
"code": null,
"e": 591,
"s": 172,
"text": "Identifying the physical aspect of the earth’s surface (Land cover) as well as how we exploit the land (Land use) is a challenging problem in environment monitoring and many other subdomains. This can be done through field surveys or analyzing satellite i... |
Taking input from console in Python | In this tutorial, we are going to learn how to take input from the console in Python.
The interactive shell in Python is treated as a console. We can take the user entered data the console using input() function.
# taking input from the user
a = input()
# printing the data
print("User data:-", a)
Tutorialspoint
User da... | [
{
"code": null,
"e": 1148,
"s": 1062,
"text": "In this tutorial, we are going to learn how to take input from the console in Python."
},
{
"code": null,
"e": 1275,
"s": 1148,
"text": "The interactive shell in Python is treated as a console. We can take the user entered data the c... |
The Multi-Channel Neural Network. Neural Networks can, and should, be... | by Eugenio Zuccarelli | Towards Data Science | Neural Networks are widely used across multiple domains, such as Computer Vision, Audio Classification, Natural Language Processing, etc. In most cases, they are considered in each of these domains individually. However, in real-life settings, it is rarely the case that this is the optimal configuration. It is much mor... | [
{
"code": null,
"e": 735,
"s": 171,
"text": "Neural Networks are widely used across multiple domains, such as Computer Vision, Audio Classification, Natural Language Processing, etc. In most cases, they are considered in each of these domains individually. However, in real-life settings, it is rarel... |
fill in C++ STL - GeeksforGeeks | 22 Sep, 2019
The ‘fill’ function assigns the value ‘val’ to all the elements in the range [begin, end), where ‘begin’ is the initial position and ‘end’ is the last position.
NOTE : Notice carefully that ‘begin’ is included in the range but ‘end’ is NOT included. Below is an example to demonstrate ‘fill’ :
// C++ progra... | [
{
"code": null,
"e": 24345,
"s": 24317,
"text": "\n22 Sep, 2019"
},
{
"code": null,
"e": 24506,
"s": 24345,
"text": "The ‘fill’ function assigns the value ‘val’ to all the elements in the range [begin, end), where ‘begin’ is the initial position and ‘end’ is the last position."
... |
C++ program to find the Sum of each Row and each Column of a Matrix | In this tutorial, we will be discussing a program to find the sum of each row and each column for a given matrix.
For this, we will be given with a say A*B matrix. Our task is to traverse through all the elements of the matrix and find the sum of each row and each column of the matrix.
#include <iostream>
using namespa... | [
{
"code": null,
"e": 1176,
"s": 1062,
"text": "In this tutorial, we will be discussing a program to find the sum of each row and each column for a given matrix."
},
{
"code": null,
"e": 1349,
"s": 1176,
"text": "For this, we will be given with a say A*B matrix. Our task is to tra... |
How to create an App using Meteor ? - GeeksforGeeks | 07 Oct, 2021
It is a full-stack javascript platform for developing web and mobile applications. The meteor uses a set of technologies to achieve our goal along with Node.js and JavaScript. It expects the least development efforts and provides the best performance. In this article, we are going to see how we can initiat... | [
{
"code": null,
"e": 25220,
"s": 25192,
"text": "\n07 Oct, 2021"
},
{
"code": null,
"e": 25554,
"s": 25220,
"text": "It is a full-stack javascript platform for developing web and mobile applications. The meteor uses a set of technologies to achieve our goal along with Node.js and... |
Python Penetration Testing - Quick Guide | Pen test or penetration testing, may be defined as an attempt to evaluate the security of an IT infrastructure by simulating a cyber-attack against computer system to exploit vulnerabilities.
What is the difference between vulnerability scanning and penetration testing? Vulnerability scanning simply identifies the note... | [
{
"code": null,
"e": 2049,
"s": 1857,
"text": "Pen test or penetration testing, may be defined as an attempt to evaluate the security of an IT infrastructure by simulating a cyber-attack against computer system to exploit vulnerabilities."
},
{
"code": null,
"e": 2405,
"s": 2049,
... |
PyQt5 QPushButton - GeeksforGeeks | 17 Sep, 2019
QPushButton is a simple button in PyQt, when clicked by a user some associated action gets performed. For adding this button into the application, QPushButton class is used.
Example:
A window having a Push Button, when clicked a message will appear “You clicked Push Button”.
Below is the code:
from PyQt5 i... | [
{
"code": null,
"e": 24524,
"s": 24496,
"text": "\n17 Sep, 2019"
},
{
"code": null,
"e": 24698,
"s": 24524,
"text": "QPushButton is a simple button in PyQt, when clicked by a user some associated action gets performed. For adding this button into the application, QPushButton clas... |
Java float Keyword | ❮ Java Keywords
float myNum = 5.75f;
System.out.println(myNum);
Try it Yourself »
The float keyword is a data type that can store fractional numbers from 3.4e−038 to 3.4e+038.
Note that you should end the value with an "f":
Read more about data types in our Java Data Types Tutorial.
❮ Java Keywords
We just launch... | [
{
"code": null,
"e": 18,
"s": 0,
"text": "\n❮ Java Keywords\n"
},
{
"code": null,
"e": 67,
"s": 18,
"text": "float myNum = 5.75f;\nSystem.out.println(myNum);\n"
},
{
"code": null,
"e": 87,
"s": 67,
"text": "\nTry it Yourself »\n"
},
{
"code": null,
... |
XAML - ListBox | A ListBox is a control that provides a list of items to the user item selection. The user can select one or more items from a predefined list of items at a time. In a ListBox, multiple options are always visible to the user without any user interaction. The hierarchical inheritance of ListBox class is as follows −
Back... | [
{
"code": null,
"e": 2239,
"s": 1923,
"text": "A ListBox is a control that provides a list of items to the user item selection. The user can select one or more items from a predefined list of items at a time. In a ListBox, multiple options are always visible to the user without any user interaction.... |
Get Started Using Anti-joins in R | by Robert Wood | Towards Data Science | Assuming you already have some background with the other more common types of joins, inner, left, right, and outer; adding semi and anti can prove incredibly useful saving you what could have alternatively taken multiple steps.
In a previous post, I outlined the benefits of semi-joins and how to use them. Here I’ll be ... | [
{
"code": null,
"e": 400,
"s": 172,
"text": "Assuming you already have some background with the other more common types of joins, inner, left, right, and outer; adding semi and anti can prove incredibly useful saving you what could have alternatively taken multiple steps."
},
{
"code": null,... |
Egg Dropping Puzzle | This is a famous puzzle problem. Suppose there is a building with n floors, if we have m eggs, then how can we find the minimum number of drops needed to find a floor from which it is safe to drop an egg without breaking it.
There some important points to remember −
When an egg does not break from a given floor, then i... | [
{
"code": null,
"e": 1287,
"s": 1062,
"text": "This is a famous puzzle problem. Suppose there is a building with n floors, if we have m eggs, then how can we find the minimum number of drops needed to find a floor from which it is safe to drop an egg without breaking it."
},
{
"code": null,
... |
Solid square inside a hollow square | Pattern - GeeksforGeeks | 08 Apr, 2021
Given the value of n, print a hollow square of side length n and inside it a solid square of side length (n – 4) using stars(*). Examples :
Input : n = 6
Output :
******
* *
* ** *
* ** *
* *
******
Input : n = 11
Output :
***********
* *
* ******* *
* ******* *
* ******* *
* ******* *
* *... | [
{
"code": null,
"e": 23815,
"s": 23787,
"text": "\n08 Apr, 2021"
},
{
"code": null,
"e": 23957,
"s": 23815,
"text": "Given the value of n, print a hollow square of side length n and inside it a solid square of side length (n – 4) using stars(*). Examples : "
},
{
"code":... |
Area of a Circumscribed Circle of a Square - GeeksforGeeks | 18 Mar, 2021
Given the side of a square then find the area of a Circumscribed circle around it.Examples:
Input : a = 6
Output : Area of a circumscribed circle is : 56.55
Input : a = 4
Output : Area of a circumscribed circle is : 25.13
All four sides of a square are of equal length and all four angles are 90 degree... | [
{
"code": null,
"e": 24869,
"s": 24841,
"text": "\n18 Mar, 2021"
},
{
"code": null,
"e": 24963,
"s": 24869,
"text": "Given the side of a square then find the area of a Circumscribed circle around it.Examples: "
},
{
"code": null,
"e": 25094,
"s": 24963,
"text... |
Angular 2 - Structural Directives | The structural directives alter the layout of the DOM by adding, replacing and removing its elements. The two familiar examples of structural directive are listed below:
NgFor: It is a repeater directive that customizes data display. It can be used to display a list of items.
NgFor: It is a repeater directive that cust... | [
{
"code": null,
"e": 2467,
"s": 2297,
"text": "The structural directives alter the layout of the DOM by adding, replacing and removing its elements. The two familiar examples of structural directive are listed below:"
},
{
"code": null,
"e": 2574,
"s": 2467,
"text": "NgFor: It is... |
How to convert PHP array to JavaScript array? | You can use PHP array in JavaScript. It works for the single as well as the multidimensional array. Use the json_encode() method to achieve this.
Let’s say Our PHP array is −
$myArr = array('Amit', 'amit@example.com');
Converting PHP array into JavaScript.
<script>
var arr = <?php echo json_encode($myArr); ?>;
</script... | [
{
"code": null,
"e": 1208,
"s": 1062,
"text": "You can use PHP array in JavaScript. It works for the single as well as the multidimensional array. Use the json_encode() method to achieve this."
},
{
"code": null,
"e": 1237,
"s": 1208,
"text": "Let’s say Our PHP array is −"
},
... |
Operations on an Array in Data Structures | Here we will see some basic operations of array data structure. These operations are −
Traverse
Insertion
Deletion
Search
Update
The traverse is scanning all elements of an array. The insert operation is adding some elements at given position in an array, delete is deleting element from an array and update the respecti... | [
{
"code": null,
"e": 1149,
"s": 1062,
"text": "Here we will see some basic operations of array data structure. These operations are −"
},
{
"code": null,
"e": 1158,
"s": 1149,
"text": "Traverse"
},
{
"code": null,
"e": 1168,
"s": 1158,
"text": "Insertion"
},... |
JavaScript for Loop | Loops can execute a block of code a number of times.
Loops are handy, if you want to run the same code over and over again, each
time with a different value.
Often this is the case when working with arrays:
JavaScript supports different kinds of loops:
for - loops through a block of code a number of times
for/in - loo... | [
{
"code": null,
"e": 53,
"s": 0,
"text": "Loops can execute a block of code a number of times."
},
{
"code": null,
"e": 159,
"s": 53,
"text": "Loops are handy, if you want to run the same code over and over again, each \ntime with a different value."
},
{
"code": null,
... |
Default value of primitive data types in Java | Primitive datatypes are predefined by the language and named by a keyword in Java. Here is an example to display the default value of primitive data types.
Live Demo
public class Demo {
static boolean val1;
static double val2;
static float val3;
static int val4;
static long val5;
static String val6;
... | [
{
"code": null,
"e": 1218,
"s": 1062,
"text": "Primitive datatypes are predefined by the language and named by a keyword in Java. Here is an example to display the default value of primitive data types."
},
{
"code": null,
"e": 1229,
"s": 1218,
"text": " Live Demo"
},
{
"... |
How to normalize a histogram in Python? | To normalize a histogram in Python, we can use hist() method. In normalized bar, the area underneath the plot should be 1.
Make a list of numbers.
Make a list of numbers.
Plot a histogram with density=True.
Plot a histogram with density=True.
To display the figure, use show() method.
To display the figure, use show() m... | [
{
"code": null,
"e": 1185,
"s": 1062,
"text": "To normalize a histogram in Python, we can use hist() method. In normalized bar, the area underneath the plot should be 1."
},
{
"code": null,
"e": 1209,
"s": 1185,
"text": "Make a list of numbers."
},
{
"code": null,
"e"... |
Tensorflow - linspace() in Python - GeeksforGeeks | 20 Apr, 2022
TensorFlow is an open-source Python library designed by Google to develop Machine Learning models and deep learning neural networks. While working with TensorFlow many times we need to generate evenly-spaced values in an interval.
tensorflow.linspace(): This method takes starting tensor, ending tensor, num... | [
{
"code": null,
"e": 23901,
"s": 23873,
"text": "\n20 Apr, 2022"
},
{
"code": null,
"e": 24132,
"s": 23901,
"text": "TensorFlow is an open-source Python library designed by Google to develop Machine Learning models and deep learning neural networks. While working with TensorFlow ... |
Difference between Streams and Collections in Java 8 | Java Collections framework is used for storing and manipulating group of data. It is an in-memory data structure and every element in the collection should be computed before it can be added in the collections.
Stream API is only used for processing group of data. It does not modify the actual collection, they only pro... | [
{
"code": null,
"e": 1273,
"s": 1062,
"text": "Java Collections framework is used for storing and manipulating group of data. It is an in-memory data structure and every element in the collection should be computed before it can be added in the collections."
},
{
"code": null,
"e": 1428,... |
agetty - Unix, Linux Command | agetty has several non-standard features that are useful
for hard-wired and for dial-in lines:
Under System V, a "-" port argument should be preceded
by a "--".
Baud rates should be specified in descending order, so that the
null character (Ctrl-@) can also be used for baud rate switching.
Since the -m feature ma... | [
{
"code": null,
"e": 10678,
"s": 10581,
"text": "\nagetty has several non-standard features that are useful\nfor hard-wired and for dial-in lines:\n"
},
{
"code": null,
"e": 10746,
"s": 10678,
"text": "\nUnder System V, a \"-\" port argument should be preceded\nby a \"--\".\n"
... |
C Program for Find sum of odd factors of a number? | In this section, we will see how we can get the sum of all odd prime factors of a number in an efficient way. There is a number say n = 1092, we have to get all factor of this. The prime factors of 1092 are 2, 2, 3, 7, 13. The sum of all odd factors is 3+7+13 = 23. To solve this problem, we have to follow this rule −
W... | [
{
"code": null,
"e": 1381,
"s": 1062,
"text": "In this section, we will see how we can get the sum of all odd prime factors of a number in an efficient way. There is a number say n = 1092, we have to get all factor of this. The prime factors of 1092 are 2, 2, 3, 7, 13. The sum of all odd factors is ... |
Slope of the line parallel to the line with the given slope | 08 Jun, 2022
Given an integer m which is the slope of a line, the task is to find the slope of the line which is parallel to the given line.Examples:
Input: m = 2 Output: 2Input: m = -3 Output: -3
Approach:
Let P and Q be two parallel lines with equations y = m1x + b1, and y = m2x + b2 respectively.Here m1 and ... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n08 Jun, 2022"
},
{
"code": null,
"e": 167,
"s": 28,
"text": "Given an integer m which is the slope of a line, the task is to find the slope of the line which is parallel to the given line.Examples: "
},
{
"code": null,
"e":... |
PyQt5 – rect() method | 26 Mar, 2020
rect() method belongs to QtCore.QRect class, this method is used to get the geometry of the window or any widget. It returns the object of type QRect which tells the property of the rectangle.
Syntax : widget.rect()
Argument : It takes no argument.
Return : It returns the rectangle of the widget
Code :
# i... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n26 Mar, 2020"
},
{
"code": null,
"e": 221,
"s": 28,
"text": "rect() method belongs to QtCore.QRect class, this method is used to get the geometry of the window or any widget. It returns the object of type QRect which tells the property ... |
Convert an Integer to a String in Julia – string() Function | 21 Nov, 2021
The string() is an inbuilt function in julia which is used to convert a specified integer to a string in the given base.
Syntax: string(n::Integer; base::Integer, pad::Integer)Parameters:
n::Integer: Specified integer.
base::Integer: Specified base in which conversion are going to be performed.
pad::Int... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n21 Nov, 2021"
},
{
"code": null,
"e": 150,
"s": 28,
"text": "The string() is an inbuilt function in julia which is used to convert a specified integer to a string in the given base. "
},
{
"code": null,
"e": 219,
"s": 15... |
Ruby | Time strftime() function | 07 Jan, 2020
Time#strftime() is a Time class method which returns the time format according to the directives in the given format string.
Syntax: Time.strftime()
Parameter: Time values
Return: time format according to the directives in the given format string.
Example #1 :
# Ruby code for Time.strftime() method # load... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n07 Jan, 2020"
},
{
"code": null,
"e": 153,
"s": 28,
"text": "Time#strftime() is a Time class method which returns the time format according to the directives in the given format string."
},
{
"code": null,
"e": 177,
"s":... |
Tensorflow.js tf.cast() Function | 12 May, 2021
Tensorflow.js is an open-source library developed by Google for running machine learning models and deep learning neural networks in the browser or node environment.
The tf.cast() function is used to cast a specified Tensor to a new data type.
Syntax:
tf.cast (x, dtype)
Parameters: This function accepts tw... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n12 May, 2021"
},
{
"code": null,
"e": 194,
"s": 28,
"text": "Tensorflow.js is an open-source library developed by Google for running machine learning models and deep learning neural networks in the browser or node environment."
},
{... |
Program to print Happy Birthday | 04 Jan, 2019
After a lot of programming algorithms, it’s turn to wish a programmer friend. Send this code to your coder friend and give him/her a surprise on his/her birthdaY !.
CPP
Java
Python3
C#
// CPP program to print Happy Birthday#include<bits/stdc++.h>using namespace std; int main(){ // Print first row ch... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n04 Jan, 2019"
},
{
"code": null,
"e": 193,
"s": 28,
"text": "After a lot of programming algorithms, it’s turn to wish a programmer friend. Send this code to your coder friend and give him/her a surprise on his/her birthdaY !."
},
{
... |
Scanner Class in Java | 04 Jul, 2022
Scanner is a class in java.util package used for obtaining the input of the primitive types like int, double, etc. and strings. It is the easiest way to read input in a Java program, though not very efficient if you want an input method for scenarios where time is a constraint like in competitive programmi... | [
{
"code": null,
"e": 52,
"s": 24,
"text": "\n04 Jul, 2022"
},
{
"code": null,
"e": 363,
"s": 52,
"text": "Scanner is a class in java.util package used for obtaining the input of the primitive types like int, double, etc. and strings. It is the easiest way to read input in a Java ... |
Tensor Operations in PyTorch | 04 Jan, 2022
In this article, we will discuss tensor operations in PyTorch.
PyTorch is a scientific package used to perform operations on the given data like tensor in python. A Tensor is a collection of data like a numpy array. We can create a tensor using the tensor function:
Syntax: torch.tensor([[[element1,element2... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n04 Jan, 2022"
},
{
"code": null,
"e": 91,
"s": 28,
"text": "In this article, we will discuss tensor operations in PyTorch."
},
{
"code": null,
"e": 294,
"s": 91,
"text": "PyTorch is a scientific package used to perfo... |
How to Convert Date to Numeric in R? | 19 Dec, 2021
In this article, we will discuss how to convert date to numeric in R Programming Language.
This function is used to convert date into numeric
Syntax:
as.numeric(date)
where the date is the input date.
Example:
R
data = as.POSIXct("1/1/2021 1:05:00 AM", format="%m/%d/%Y %H:%M:%S %p") # d... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n19 Dec, 2021"
},
{
"code": null,
"e": 119,
"s": 28,
"text": "In this article, we will discuss how to convert date to numeric in R Programming Language."
},
{
"code": null,
"e": 170,
"s": 119,
"text": "This function i... |
Python | Replace substring in list of strings | 07 Jun, 2019
While working with strings, one of the most used application is replacing the part of string with another. Since string in itself is immutable, the knowledge of this utility in itself is quite useful. Here the replacement of a substring in list of string is performed. Let’s discuss certain ways in which th... | [
{
"code": null,
"e": 52,
"s": 24,
"text": "\n07 Jun, 2019"
},
{
"code": null,
"e": 380,
"s": 52,
"text": "While working with strings, one of the most used application is replacing the part of string with another. Since string in itself is immutable, the knowledge of this utility ... |
ZoneId getAvailableZoneIds() method in Java with Examples | 19 Aug, 2019
The getAvailableZoneIds() method of the ZoneId class used to get the set of available zone IDs.This set includes all available region-based IDs.The ID can be passed to of(String) to create a ZoneId.The set of zone IDs can increase over time, although in a typical application the set of IDs is fixed.
Syntax... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n19 Aug, 2019"
},
{
"code": null,
"e": 329,
"s": 28,
"text": "The getAvailableZoneIds() method of the ZoneId class used to get the set of available zone IDs.This set includes all available region-based IDs.The ID can be passed to of(Stri... |
Character arithmetic in C and C++ | 30 Jun, 2022
As already known character range is between -128 to 127 or 0 to 255. This point has to be kept in mind while doing character arithmetic.
What is Character arithmetic ?
Character arithmetic is used to implement arithmetic operations like addition, subtraction ,multiplication ,division on characters in C an... | [
{
"code": null,
"e": 52,
"s": 24,
"text": "\n30 Jun, 2022"
},
{
"code": null,
"e": 190,
"s": 52,
"text": "As already known character range is between -128 to 127 or 0 to 255. This point has to be kept in mind while doing character arithmetic. "
},
{
"code": null,
"e":... |
Python | Convert an HTML table into excel | 25 Jun, 2019
MS Excel is a powerful tool for handling huge amounts of tabular data. It can be particularly useful for sorting, analyzing, performing complex calculations and visualizing data. In this article, we will discuss how to extract a table from a webpage and store it in Excel format.
Step #1: Converting to Pand... | [
{
"code": null,
"e": 53,
"s": 25,
"text": "\n25 Jun, 2019"
},
{
"code": null,
"e": 333,
"s": 53,
"text": "MS Excel is a powerful tool for handling huge amounts of tabular data. It can be particularly useful for sorting, analyzing, performing complex calculations and visualizing d... |
Difference between static, auto, global and local variable in C++ | There are two separate concepts here −
scope, which determines where a name can be accessed - global and local
storage duration, which determines when a variable is created and destroyed - static and auto
Local variables can be used only by statements that are inside that function or block of code. Local variables are ... | [
{
"code": null,
"e": 1226,
"s": 1187,
"text": "There are two separate concepts here −"
},
{
"code": null,
"e": 1298,
"s": 1226,
"text": "scope, which determines where a name can be accessed - global and local"
},
{
"code": null,
"e": 1392,
"s": 1298,
"text": "... |
Python String join() Method | Python string method join() returns a string in which the string elements of sequence have been joined by str separator.
Following is the syntax for join() method −
str.join(sequence)
sequence − This is a sequence of the elements to be joined.
sequence − This is a sequence of the elements to be joined.
This method re... | [
{
"code": null,
"e": 2500,
"s": 2378,
"text": "Python string method join() returns a string in which the string elements of sequence have been joined by str separator."
},
{
"code": null,
"e": 2544,
"s": 2500,
"text": "Following is the syntax for join() method −"
},
{
"c... |
PHP $_POST | $_POST is a predefined variable which is an associative array of key-value pairs passed to a URL by HTTP POST method that uses URLEncoded or multipart/form-data content-type in request.
$HTTP_POST_VARS also contains the same information, but is not a superglobal, and now been deprecated.
Easiest way to send data to ser... | [
{
"code": null,
"e": 1373,
"s": 1187,
"text": "$_POST is a predefined variable which is an associative array of key-value pairs passed to a URL by HTTP POST method that uses URLEncoded or multipart/form-data content-type in request."
},
{
"code": null,
"e": 1476,
"s": 1373,
"text... |
Implementing Stack Using Class Templates in C++ | 02 Feb, 2022
The task is to implement some important functions of stack like pop(), push(), display(), topElement(), isEmpty(), isFull() using class template in C++. Stack is a linear data structure that follows a particular order in which the operations are performed. The order may be LIFO(Last In First Out) or FILO(F... | [
{
"code": null,
"e": 54,
"s": 26,
"text": "\n02 Feb, 2022"
},
{
"code": null,
"e": 380,
"s": 54,
"text": "The task is to implement some important functions of stack like pop(), push(), display(), topElement(), isEmpty(), isFull() using class template in C++. Stack is a linear dat... |
Python | Ways to invert mapping of dictionary | 18 Feb, 2019
Dictionary is a collection which is unordered, changeable and indexed. In Python, dictionaries are written with curly brackets, and they have keys and values. It is widely used in day to day programming, web development, and machine learning.Let’s discuss a few ways to invert mapping of a dictionary.Method... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n18 Feb, 2019"
},
{
"code": null,
"e": 372,
"s": 28,
"text": "Dictionary is a collection which is unordered, changeable and indexed. In Python, dictionaries are written with curly brackets, and they have keys and values. It is widely use... |
How to position a Bootstrap popover ? | 22 Jun, 2020
This article describes how a popover can be positioned on the page. The popover attribute of Bootstrap can be used to make the website look more dynamic. Popovers are generally used to display additional information about any element and are displayed on click of mouse pointer over that element. It is simi... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n22 Jun, 2020"
},
{
"code": null,
"e": 430,
"s": 28,
"text": "This article describes how a popover can be positioned on the page. The popover attribute of Bootstrap can be used to make the website look more dynamic. Popovers are generall... |
How to extract date from a string in dd-mmm-yyyy format in JavaScript ? | 09 Dec, 2020
In this article, we will see how to extract date from a given string of format “dd-mmm-yyyy” in JavaScript. We have a string, and we want to extract the date format “dd-mmm-yyyy” from the string.
Example:
// String
str = "India got freedom on 15-Aug-1947"
// Extracted date from given string in
// "dd-mmm... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n09 Dec, 2020"
},
{
"code": null,
"e": 224,
"s": 28,
"text": "In this article, we will see how to extract date from a given string of format “dd-mmm-yyyy” in JavaScript. We have a string, and we want to extract the date format “dd-mmm-yy... |
When is a semicolon after } mandated in C++ Program? | A semicolon after a close brace is mandatory if this is the end of a declaration. In case of braces, they have used in declarations of class, enum, struct, and initialization syntax. At the end of each of these statements, we need to put a semicolon. For example,
class X {}; // same declaration for struct as well
en... | [
{
"code": null,
"e": 1326,
"s": 1062,
"text": "A semicolon after a close brace is mandatory if this is the end of a declaration. In case of braces, they have used in declarations of class, enum, struct, and initialization syntax. At the end of each of these statements, we need to put a semicolon. Fo... |
Access Modifiers in C# - GeeksforGeeks | 20 Sep, 2021
Access Modifiers are keywords that define the accessibility of a member, class or datatype in a program. These are mainly used to restrict unwanted data manipulation by external programs or classes. There are 4 access modifiers (public, protected, internal, private) which defines the 6 accessibility levels... | [
{
"code": null,
"e": 23914,
"s": 23886,
"text": "\n20 Sep, 2021"
},
{
"code": null,
"e": 24234,
"s": 23914,
"text": "Access Modifiers are keywords that define the accessibility of a member, class or datatype in a program. These are mainly used to restrict unwanted data manipulati... |
Add a User in Linux using Python Script - GeeksforGeeks | 04 May, 2020
Creating a user via command line in Linux is a tedious task. Every time someone joins your organization and you need to type a long Linux command rather than doing this you can create a python script that can ask for you the username and password and create that user for you.
Examples:
Input :
Enter Usern... | [
{
"code": null,
"e": 24342,
"s": 24314,
"text": "\n04 May, 2020"
},
{
"code": null,
"e": 24619,
"s": 24342,
"text": "Creating a user via command line in Linux is a tedious task. Every time someone joins your organization and you need to type a long Linux command rather than doing... |
Subset Sum Problem in O(sum) space - GeeksforGeeks | 14 Mar, 2022
Given an array of non-negative integers and a value sum, determine if there is a subset of the given set with sum equal to given sum.
Examples:
Input : arr[] = {4, 1, 10, 12, 5, 2},
sum = 9
Output : TRUE
{4, 5} is a subset with sum 9.
Input : arr[] = {1, 8, 2, 5},
sum = 4
Output : F... | [
{
"code": null,
"e": 24934,
"s": 24906,
"text": "\n14 Mar, 2022"
},
{
"code": null,
"e": 25068,
"s": 24934,
"text": "Given an array of non-negative integers and a value sum, determine if there is a subset of the given set with sum equal to given sum."
},
{
"code": null,
... |
How to append elements in Python tuple? | Python tuple is an immutable object. Hence any operation that tries to modify it (like append) is not allowed. However, following workaround can be used.
First, convert tuple to list by built-in function list(). You can always append item to list object. Then use another built-in function tuple() to convert this list o... | [
{
"code": null,
"e": 1216,
"s": 1062,
"text": "Python tuple is an immutable object. Hence any operation that tries to modify it (like append) is not allowed. However, following workaround can be used."
},
{
"code": null,
"e": 1403,
"s": 1216,
"text": "First, convert tuple to list... |
How to launch Edge browser with Selenium Webdriver? | We can launch Edge browser with Selenium webdriver by using the Microsoft webdriver. We should also ensure that we are having the machine with the Windows 10 operating system.
Navigate to the below link to download the Microsoft Edge driver executable file − https://developer.microsoft.com/en-us/microsoft-edge/tools/we... | [
{
"code": null,
"e": 1238,
"s": 1062,
"text": "We can launch Edge browser with Selenium webdriver by using the Microsoft webdriver. We should also ensure that we are having the machine with the Windows 10 operating system."
},
{
"code": null,
"e": 1391,
"s": 1238,
"text": "Naviga... |
C# Program to Convert Integer to String | To convert an integer to string in C#, use the ToString() method.
Set the integer for which you want the string −
int num = 299;
Use the ToString() method to convert Integer to String −
String s;
int num = 299;
s = num.ToString();
You can try to run the following code to convert an integer to string in C# −
Live Demo
u... | [
{
"code": null,
"e": 1128,
"s": 1062,
"text": "To convert an integer to string in C#, use the ToString() method."
},
{
"code": null,
"e": 1176,
"s": 1128,
"text": "Set the integer for which you want the string −"
},
{
"code": null,
"e": 1191,
"s": 1176,
"text"... |
Julia local Keyword | Creating a local variable in Julia - GeeksforGeeks | 02 Sep, 2021
Keywords in Julia are reserved words whose value is pre-defined to the compiler and can not be changed by the user. These words have a specific meaning and perform their specific operation on execution.‘local’ keyword in Julia is used to create a variable of a limited scope whose value is local to the scop... | [
{
"code": null,
"e": 24488,
"s": 24460,
"text": "\n02 Sep, 2021"
},
{
"code": null,
"e": 24844,
"s": 24488,
"text": "Keywords in Julia are reserved words whose value is pre-defined to the compiler and can not be changed by the user. These words have a specific meaning and perform... |
What is difference in Python operators != and "is not"? | In Python != is defined as not equal to operator. It returns true if operands on either side are not eual to each other, and returns false if they are equal.
>>> (10+2) != 12 # both expressions are same hence false
False
>>> (10+2)==12
True
>>> 'computer' != "computer" # both strings ... | [
{
"code": null,
"e": 1220,
"s": 1062,
"text": "In Python != is defined as not equal to operator. It returns true if operands on either side are not eual to each other, and returns false if they are equal."
},
{
"code": null,
"e": 1502,
"s": 1220,
"text": ">>> (10+2) != 12 ... |
How to Install Python 3.4.4 on Ubuntu | Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido van Rossum during 1985- 1990. Like Perl, Python source code is also available under the GNU General Public License (GPL).This article describes “How to install Python on Ubuntu”
To install... | [
{
"code": null,
"e": 1372,
"s": 1062,
"text": "Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido van Rossum during 1985- 1990. Like Perl, Python source code is also available under the GNU General Public License (GPL).... |
Creating Beautiful Maps with Python Beyond the defaults | by Abdishakur | Towards Data Science | Making maps with Geopandas is very easy but I have to admit the defaults are not great as any other data visualization software out there. In this tutorial, we examine ways to change and create beautiful maps. There are many different ways to customize your maps. We cover specific ways you can enhance your map-making w... | [
{
"code": null,
"e": 572,
"s": 171,
"text": "Making maps with Geopandas is very easy but I have to admit the defaults are not great as any other data visualization software out there. In this tutorial, we examine ways to change and create beautiful maps. There are many different ways to customize yo... |
Missing number | Practice | GeeksforGeeks | Vaibhav likes to play with numbers and he has N numbers. One day he was placing the numbers on the playing board just to count that how many numbers he has. He was placing the numbers in increasing order i.e. from 1 to N. But when he was putting the numbers back into his bag, some numbers fell down onto the floor. He p... | [
{
"code": null,
"e": 734,
"s": 238,
"text": "Vaibhav likes to play with numbers and he has N numbers. One day he was placing the numbers on the playing board just to count that how many numbers he has. He was placing the numbers in increasing order i.e. from 1 to N. But when he was putting the numbe... |
DFA for accepting the language L = { anbm | n+m=even } - GeeksforGeeks | 09 Aug, 2021
Design a deterministic finite automata(DFA) for accepting the language L =For creating DFA for language, L = { a^n b^m ; n+m=even } use elementary mathematics, which says- even + even = even and odd + odd = even
Examples:
Input: a a b b // n = 2, m = 2, 2 + 2 = 4 (even)
Output: ACCEPTED
Input: a a... | [
{
"code": null,
"e": 29834,
"s": 29806,
"text": "\n09 Aug, 2021"
},
{
"code": null,
"e": 30046,
"s": 29834,
"text": "Design a deterministic finite automata(DFA) for accepting the language L =For creating DFA for language, L = { a^n b^m ; n+m=even } use elementary mathematics, whi... |
Java NumberFormat.getCurrencyInstance() method | The getCurrencyInstance() method of the NumberFormat class returns the instance of the NumberFormat class. The java.text.NumberFormat class is used for formatting numbers and currencies as per a specific Locale. Number formats varies from country to country
Here, we have considered a locale.
NumberFormat n = NumberForm... | [
{
"code": null,
"e": 1320,
"s": 1062,
"text": "The getCurrencyInstance() method of the NumberFormat class returns the instance of the NumberFormat class. The java.text.NumberFormat class is used for formatting numbers and currencies as per a specific Locale. Number formats varies from country to cou... |
Web Scrapping, Downloading Twitter Data and Performing Sentimental Analysis using Python | by Anastasia Kiiru | Towards Data Science | Social media influencers play an important role in the current society of increasing human interconnection; and business organizations are realizing the need for influencer marketing campaigns (Newberry, 2019). A successful influencer marketing campaign requires a partnership with the right social media influencer. So ... | [
{
"code": null,
"e": 409,
"s": 47,
"text": "Social media influencers play an important role in the current society of increasing human interconnection; and business organizations are realizing the need for influencer marketing campaigns (Newberry, 2019). A successful influencer marketing campaign re... |
How to create an unordered list without bullets in HTML? | To create unordered list in HTML, use the <ul> tag. Unordered list starts with the <ul> tag. The list item starts with the <li> tag and will be marked as disc, square, circle, none, etc. The default is bullets, which is small black circles.
For creating an unordered list without bullets, use CSS property list-style-typ... | [
{
"code": null,
"e": 1303,
"s": 1062,
"text": "To create unordered list in HTML, use the <ul> tag. Unordered list starts with the <ul> tag. The list item starts with the <li> tag and will be marked as disc, square, circle, none, etc. The default is bullets, which is small black circles."
},
{
... |
crypto.publicEncrypt() Method in Node.js | The crypto.publicEncrypt() is used for encrypting the given data in buffer parameter by using a public key passed in the parameter. The data returned can be decrypted using the corresponding private key.
crypto.publicEncrypt(key, buffer)
The above parameters are described as below −
key – It can contain the below 5 typ... | [
{
"code": null,
"e": 1266,
"s": 1062,
"text": "The crypto.publicEncrypt() is used for encrypting the given data in buffer parameter by using a public key passed in the parameter. The data returned can be decrypted using the corresponding private key."
},
{
"code": null,
"e": 1300,
"s... |
How to extract the text of a webelement in Selenium? | Selenium extracts the text of a webelement with the help of getText() method.
Code Implementation with getText().
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import java.util.... | [
{
"code": null,
"e": 1140,
"s": 1062,
"text": "Selenium extracts the text of a webelement with the help of getText() method."
},
{
"code": null,
"e": 1176,
"s": 1140,
"text": "Code Implementation with getText()."
},
{
"code": null,
"e": 2114,
"s": 1176,
"text"... |
CSS white-space Property - GeeksforGeeks | 21 Oct, 2021
The white-space property in CSS is used to control the text wrapping and white-spacing ie., this property can be used to set about the handling of the white-space inside the elements. There are several types of values in this property to use.
Syntax:
white-space: normal| nowrap| pre| pre-line| pre-wrap| in... | [
{
"code": null,
"e": 23596,
"s": 23568,
"text": "\n21 Oct, 2021"
},
{
"code": null,
"e": 23839,
"s": 23596,
"text": "The white-space property in CSS is used to control the text wrapping and white-spacing ie., this property can be used to set about the handling of the white-space ... |
Explain ‘simple if’ statement in C language | ‘if’ keyword is used to execute a set of statements when the logical condition is true.
The syntax is given below −
if (condition){
Statement (s)
}
The statement inside the if block are executed only when condition is true, otherwise not.
The statement inside the if block are executed only when condition is true, ot... | [
{
"code": null,
"e": 1150,
"s": 1062,
"text": "‘if’ keyword is used to execute a set of statements when the logical condition is true."
},
{
"code": null,
"e": 1178,
"s": 1150,
"text": "The syntax is given below −"
},
{
"code": null,
"e": 1213,
"s": 1178,
"tex... |
How to use calendar widget using the calendarView class in Android App? | This example demonstrates how do I use calendar widget using the calendarView class in android app.
Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.
Step 2 − Add the following code to res/layout/activity_main.xml.
<?xml version="1.0" encodi... | [
{
"code": null,
"e": 1162,
"s": 1062,
"text": "This example demonstrates how do I use calendar widget using the calendarView class in android app."
},
{
"code": null,
"e": 1291,
"s": 1162,
"text": "Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill... |
PyQt5 – How to adjust size of ComboBox according to the items size | 22 Apr, 2020
In this article we will see how we can adjust the combo box according to the size of item according to item which has maximum size among the item list. By default we use setGeometry method and setSize method to adjust the size but it will not automatically adjust the size according to the item size.
In ord... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n22 Apr, 2020"
},
{
"code": null,
"e": 329,
"s": 28,
"text": "In this article we will see how we can adjust the combo box according to the size of item according to item which has maximum size among the item list. By default we use setGe... |
What is Array Decay in C++? How can it be prevented? | 21 Sep, 2021
What is Array Decay? The loss of type and dimensions of an array is known as decay of an array.This generally occurs when we pass the array into function by value or pointer. What it does is, it sends first address to the array which is a pointer, hence the size of array is not the original one, but the on... | [
{
"code": null,
"e": 54,
"s": 26,
"text": "\n21 Sep, 2021"
},
{
"code": null,
"e": 403,
"s": 54,
"text": "What is Array Decay? The loss of type and dimensions of an array is known as decay of an array.This generally occurs when we pass the array into function by value or pointer.... |
v-for Directive in Vue.js | 25 Jun, 2020
v-for directive is a Vue.js directive used to loop over a data usually an array or object. First, we will create a div element with id as app and let’s apply the v-for directive to an element with data. Now we will create this data by initializing a Vue instance with the data attribute containing the value... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n25 Jun, 2020"
},
{
"code": null,
"e": 337,
"s": 28,
"text": "v-for directive is a Vue.js directive used to loop over a data usually an array or object. First, we will create a div element with id as app and let’s apply the v-for directi... |
How to Concatenate Column Values in Pandas DataFrame? | 10 Jul, 2020
Many times we need to combine values in different columns into a single column. There can be many use cases of this, like combining first and last names of people in a list, combining day, month, and year into a single column of Date, etc. Now we’ll see how we can achieve this with the help of some example... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n10 Jul, 2020"
},
{
"code": null,
"e": 338,
"s": 28,
"text": "Many times we need to combine values in different columns into a single column. There can be many use cases of this, like combining first and last names of people in a list, c... |
How to Remove an Element from Collection using Iterator Object in Java? | 07 Jan, 2021
Collection in Java is a set of interfaces like List, Set, and Queue. An iterator in Java is used to iterate or traverse through the elements of the Collection. There are three types of iterator in Java namely, Enumerator, Iterator, and ListIterator.
The two ways of removing an element from Collections usi... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n07 Jan, 2021"
},
{
"code": null,
"e": 279,
"s": 28,
"text": "Collection in Java is a set of interfaces like List, Set, and Queue. An iterator in Java is used to iterate or traverse through the elements of the Collection. There are three... |
Corona HelpBot | 14 Jul, 2022
This is a chatbot that will give answers to most of your corona-related questions/FAQ. The chatbot will give you answers from the data given by WHO(https://www.who.int/). This will help those who need information or help to know more about this virus.
It uses a neural network with two hidden layers(enough ... | [
{
"code": null,
"e": 52,
"s": 24,
"text": "\n14 Jul, 2022"
},
{
"code": null,
"e": 304,
"s": 52,
"text": "This is a chatbot that will give answers to most of your corona-related questions/FAQ. The chatbot will give you answers from the data given by WHO(https://www.who.int/). Thi... |
Longest sub-array having sum k | 25 May, 2022
Given an array arr[] of size n containing integers. The problem is to find the length of the longest sub-array having sum equal to the given value k.Examples:
Input : arr[] = { 10, 5, 2, 7, 1, 9 },
k = 15
Output : 4
The sub-array is {5, 2, 7, 1}.
Input : arr[] = {-5, 8, -14, 2, 4, 12},
... | [
{
"code": null,
"e": 52,
"s": 24,
"text": "\n25 May, 2022"
},
{
"code": null,
"e": 213,
"s": 52,
"text": "Given an array arr[] of size n containing integers. The problem is to find the length of the longest sub-array having sum equal to the given value k.Examples: "
},
{
... |
Python Library for Linked List | 06 Jul, 2022
Linked list is a simple data structure in programming, which obviously is used to store data and retrieve it accordingly. To make it easier to imagine, it is more like a dynamic array in which data elements are linked via pointers (i.e. the present record points to its next record and the next one points t... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n06 Jul, 2022"
},
{
"code": null,
"e": 448,
"s": 28,
"text": "Linked list is a simple data structure in programming, which obviously is used to store data and retrieve it accordingly. To make it easier to imagine, it is more like a dynam... |
Multiclass classification using scikit-learn | 28 Jun, 2022
Multiclass classification is a popular problem in supervised machine learning.
Problem – Given a dataset of m training examples, each of which contains information in the form of various features and a label. Each label corresponds to a class, to which the training example belongs. In multiclass classifica... | [
{
"code": null,
"e": 54,
"s": 26,
"text": "\n28 Jun, 2022"
},
{
"code": null,
"e": 133,
"s": 54,
"text": "Multiclass classification is a popular problem in supervised machine learning."
},
{
"code": null,
"e": 444,
"s": 133,
"text": "Problem – Given a dataset ... |
Check if the n-th term is odd or even in a Fibonacci like sequence | 02 Jun, 2022
Consider a sequence a0, a1, ..., an, where ai = ai-1 + ai-2. Given a0, a1, and a positive integer n. The task is to find whether an is odd or even.Note that the given sequence is like Fibonacci with the difference that the first two terms can be anything instead of 0 or 1.Examples :
Input : a0 = 2, a1 = ... | [
{
"code": null,
"e": 28,
"s": 0,
"text": "\n02 Jun, 2022"
},
{
"code": null,
"e": 314,
"s": 28,
"text": "Consider a sequence a0, a1, ..., an, where ai = ai-1 + ai-2. Given a0, a1, and a positive integer n. The task is to find whether an is odd or even.Note that the given sequence... |
Difference between static and non-static variables in Java - GeeksforGeeks | 26 Apr, 2019
There are three types of variables in Java:
Local Variables
Instance Variables
Static Variables
The Local variables and Instance variables are together called Non-Static variables. Hence it can also be said that the Java variables can be divided into 2 categories:
Static Variables: When a variable is decla... | [
{
"code": null,
"e": 24426,
"s": 24398,
"text": "\n26 Apr, 2019"
},
{
"code": null,
"e": 24470,
"s": 24426,
"text": "There are three types of variables in Java:"
},
{
"code": null,
"e": 24486,
"s": 24470,
"text": "Local Variables"
},
{
"code": null,
... |
Longest Valid Parentheses in Python | Suppose we have a string, with opening and closing parentheses. We have to find the longest length of the valid (well-formed) parentheses. So if the input is like “))(())())”, then the result will be 6, as the valid string is “(())()”.
To solve this, we will follow these steps −
Make a stack, and insert -1., set ans :=... | [
{
"code": null,
"e": 1298,
"s": 1062,
"text": "Suppose we have a string, with opening and closing parentheses. We have to find the longest length of the valid (well-formed) parentheses. So if the input is like “))(())())”, then the result will be 6, as the valid string is “(())()”."
},
{
"co... |
Creating a Web Application to Analyse Dengue Cases | by Benedict Soh | Towards Data Science | Information is power. Information on your fingertips is superpower.
During this period, I chanced upon many visualisations on COVID-19 on Reddit, Twitter, and Facebook. Many of them are very inspirational and it is so pleasing to be able to ingest a huge amount of information in such a short period of time.
I was motiv... | [
{
"code": null,
"e": 240,
"s": 172,
"text": "Information is power. Information on your fingertips is superpower."
},
{
"code": null,
"e": 481,
"s": 240,
"text": "During this period, I chanced upon many visualisations on COVID-19 on Reddit, Twitter, and Facebook. Many of them are ... |
Bootstrap 4 Button .btn-outline-dark class | Use the .btn-outline-dark class in Bootstrap to set dark outline on a button.
The following is an example of a button with dark outline −
Set the above outline to the button, using the btn-outline-dark class as shown below −
<button type="button" class="btn btn-outline-dark">
Submit
</button>
You can try to run the f... | [
{
"code": null,
"e": 1140,
"s": 1062,
"text": "Use the .btn-outline-dark class in Bootstrap to set dark outline on a button."
},
{
"code": null,
"e": 1200,
"s": 1140,
"text": "The following is an example of a button with dark outline −"
},
{
"code": null,
"e": 1287,
... |
Mastering Dates and Timestamps in Pandas (and Python in general) | by Matias Eiletz | Towards Data Science | Dates in general
More specifically, handling operations with...
Days
Weeks
Months
Years
Extra: Generating date ranges
Generate Sequential date ranges
Generate Random date ranges
(*) Before running any code, please import pandas!
import pandas as pd
Now, let’s get started.
You can choose every format as you want, follow... | [
{
"code": null,
"e": 188,
"s": 171,
"text": "Dates in general"
},
{
"code": null,
"e": 235,
"s": 188,
"text": "More specifically, handling operations with..."
},
{
"code": null,
"e": 240,
"s": 235,
"text": "Days"
},
{
"code": null,
"e": 246,
"s... |
IDE | GeeksforGeeks | A computer science portal for geeks | Please enter your email address or userHandle.
123456789101112131415161718192021https://smash.gg/tournament/en-directo-real-madrid-vs-barcelona-supercopa-en-directo-online/detailshttps://smash.gg/tournament/gratis-tv-barcelona-vs-real-madrid-en-vivo-online-12/detailshttps://smash.gg/tournament/supercopa-bar-a-vs-madrid... | [
{
"code": null,
"e": 164,
"s": 117,
"text": "Please enter your email address or userHandle."
},
{
"code": null,
"e": 2227,
"s": 164,
"text": "123456789101112131415161718192021https://smash.gg/tournament/en-directo-real-madrid-vs-barcelona-supercopa-en-directo-online/detailshttps:... |
Difference between Int64 and UInt64 in C# - GeeksforGeeks | 26 May, 2020
Int64: This Struct is used to represents 64-bit signed integer. The Int64 can store both types of values including negative and positive between the ranges of -9,223,372,036,854,775,808 to +9, 223,372,036,854,775,807
Example :
C#
// C# program to show the// difference between Int64// and UInt64 using Syst... | [
{
"code": null,
"e": 25809,
"s": 25781,
"text": "\n26 May, 2020"
},
{
"code": null,
"e": 26026,
"s": 25809,
"text": "Int64: This Struct is used to represents 64-bit signed integer. The Int64 can store both types of values including negative and positive between the ranges of -9,2... |
VS Code | Compile and Run in C++ - GeeksforGeeks | 11 Feb, 2021
In this article, we will learn how to compile and run C++ program in VS Code. There are two ways of doing that you can use any one of them as per your convenience. It is to be noted that a majority of competitive programmers use C++, therefore the compilation and execution of the program needs to be done q... | [
{
"code": null,
"e": 25663,
"s": 25635,
"text": "\n11 Feb, 2021"
},
{
"code": null,
"e": 26085,
"s": 25663,
"text": "In this article, we will learn how to compile and run C++ program in VS Code. There are two ways of doing that you can use any one of them as per your convenience.... |
How to enable/disable a button using jQuery ? - GeeksforGeeks | 20 Sep, 2021
In this article, we will demonstrate how to enable and disable buttons using jQuery. This article requires some familiarity with HTML, CSS, JavaScript, and jQuery. The jQuery prop() function can be used to disable a button.
The property values can be explicitly retrieved using the prop() method. The prop... | [
{
"code": null,
"e": 26160,
"s": 26132,
"text": "\n20 Sep, 2021"
},
{
"code": null,
"e": 26386,
"s": 26160,
"text": "In this article, we will demonstrate how to enable and disable buttons using jQuery. This article requires some familiarity with HTML, CSS, JavaScript, and jQuery.... |
JSON full form - GeeksforGeeks | 10 Dec, 2019
JSON stands for JavaScript Object Notation. It is a text-based data interchange format to maintain the structure of the data. JSON is the replacement of the XML data exchange format in JSON. It is easy to struct the data compare to XML. It supports data structures like array and objects and the JSON docume... | [
{
"code": null,
"e": 25282,
"s": 25254,
"text": "\n10 Dec, 2019"
},
{
"code": null,
"e": 25810,
"s": 25282,
"text": "JSON stands for JavaScript Object Notation. It is a text-based data interchange format to maintain the structure of the data. JSON is the replacement of the XML da... |
ML | K-means++ Algorithm - GeeksforGeeks | 13 Jul, 2021
Prerequisite: K-means Clustering – Introduction
One disadvantage of the K-means algorithm is that it is sensitive to the initialization of the centroids or the mean points. So, if a centroid is initialized to be a “far-off” point, it might just end up with no points associated with it, and at the same tim... | [
{
"code": null,
"e": 25613,
"s": 25585,
"text": "\n13 Jul, 2021"
},
{
"code": null,
"e": 25662,
"s": 25613,
"text": "Prerequisite: K-means Clustering – Introduction "
},
{
"code": null,
"e": 26209,
"s": 25662,
"text": "One disadvantage of the K-means algorithm... |
COUNT() Function in SQL Server - GeeksforGeeks | 19 Jan, 2021
COUNT() function :
This function in SQL Server is used to find the number of indexes as returned from the query selected.
Features :
This function is used to find the number of indexes as returned from the query selected.
This function comes under Numeric Functions.
This function accepts only one parameter... | [
{
"code": null,
"e": 25513,
"s": 25485,
"text": "\n19 Jan, 2021"
},
{
"code": null,
"e": 25532,
"s": 25513,
"text": "COUNT() function :"
},
{
"code": null,
"e": 25635,
"s": 25532,
"text": "This function in SQL Server is used to find the number of indexes as re... |
Minimum number of characters to be replaced to make a given string Palindrome - GeeksforGeeks | 31 Jul, 2021
Given string str, the task is to find the minimum number of characters to be replaced to make a given string palindrome. Replacing a character means replacing it with any single character in the same position. We are not allowed to remove or add any characters.
If there are multiple answers, print the lex... | [
{
"code": null,
"e": 26365,
"s": 26337,
"text": "\n31 Jul, 2021"
},
{
"code": null,
"e": 26628,
"s": 26365,
"text": "Given string str, the task is to find the minimum number of characters to be replaced to make a given string palindrome. Replacing a character means replacing it w... |
Angular ng Bootstrap Datepicker Component - GeeksforGeeks | 06 Jul, 2021
Angular ng bootstrap is a bootstrap framework used with angular to create components with great styling and this framework is very easy to use and is used to make responsive websites.
In this article, we will see how to use Datepicker in angular ng bootstrap. The Datepicker is used to make a component that... | [
{
"code": null,
"e": 26354,
"s": 26326,
"text": "\n06 Jul, 2021"
},
{
"code": null,
"e": 26538,
"s": 26354,
"text": "Angular ng bootstrap is a bootstrap framework used with angular to create components with great styling and this framework is very easy to use and is used to make ... |
Moment.js isSameOrAfter() Function - GeeksforGeeks | 24 Jul, 2020
It is used to check whether a date is the same or after a particular date in Node.js using the isSameOrAfter() function that checks if a moment is after or the same as another moment. The first argument will be parsed as a moment, if not already so.
Syntax:
moment().isSameOrAfter(Moment|String|Number|Date|... | [
{
"code": null,
"e": 26267,
"s": 26239,
"text": "\n24 Jul, 2020"
},
{
"code": null,
"e": 26517,
"s": 26267,
"text": "It is used to check whether a date is the same or after a particular date in Node.js using the isSameOrAfter() function that checks if a moment is after or the sam... |
Twitter Location Analysis. With more than 500 million tweets sent... | by Skanda Vivek | Towards Data Science | Twitter is an impressive data source, and tweets have so much information about societal sentiments. In fact, some work has shown that aggregated tweet data can be used as a metric of societal happiness! With a short character limit, and wide prevalence, Twitter sounds like the perfect combination for a true reflection... | [
{
"code": null,
"e": 516,
"s": 172,
"text": "Twitter is an impressive data source, and tweets have so much information about societal sentiments. In fact, some work has shown that aggregated tweet data can be used as a metric of societal happiness! With a short character limit, and wide prevalence, ... |
Backpropagation from Scratch: How Neural Networks Really Work | by Florin Andrei | Towards Data Science | How do neural networks really work? I will show you a complete example, written from scratch in Python, with all the math you need to completely understand the process.
I will explain everything in plain English as well. You could just follow along, read just the text and still get the general idea. But to re-implement... | [
{
"code": null,
"e": 341,
"s": 172,
"text": "How do neural networks really work? I will show you a complete example, written from scratch in Python, with all the math you need to completely understand the process."
},
{
"code": null,
"e": 581,
"s": 341,
"text": "I will explain ev... |
Cost Based optimization - GeeksforGeeks | 07 Jun, 2021
Query optimization is the process of choosing the most efficient or the most favorable type of executing an SQL statement. Query optimization is an art of science for applying rules to rewrite the tree of operators that is invoked in a query and to produce an optimal plan. A plan is said to be optimal if i... | [
{
"code": null,
"e": 26261,
"s": 26233,
"text": "\n07 Jun, 2021"
},
{
"code": null,
"e": 26637,
"s": 26261,
"text": "Query optimization is the process of choosing the most efficient or the most favorable type of executing an SQL statement. Query optimization is an art of science ... |
PHP | MySQL ( Creating Database ) - GeeksforGeeks | 21 Mar, 2018
What is a database?Database is a collection of inter-related data which helps in efficient retrieval, insertion and deletion of data from database and organizes the data in the form of tables, views, schemas, reports etc. For Example, university database organizes the data about students, faculty, and admi... | [
{
"code": null,
"e": 24442,
"s": 24414,
"text": "\n21 Mar, 2018"
},
{
"code": null,
"e": 24838,
"s": 24442,
"text": "What is a database?Database is a collection of inter-related data which helps in efficient retrieval, insertion and deletion of data from database and organizes th... |
Bulma | Select - GeeksforGeeks | 27 Jul, 2020
Bulma is a free, open-source CSS framework based on Flexbox. It is component rich, compatible, and well documented. It is highly responsive in nature. It uses classes to carry out its design.The ‘select’ component of a form is not that attractive in look. Using Bulma we can design select elements of the fo... | [
{
"code": null,
"e": 27353,
"s": 27325,
"text": "\n27 Jul, 2020"
},
{
"code": null,
"e": 27839,
"s": 27353,
"text": "Bulma is a free, open-source CSS framework based on Flexbox. It is component rich, compatible, and well documented. It is highly responsive in nature. It uses clas... |
Numbers whose factorials end with n zeros - GeeksforGeeks | 22 Apr, 2021
Given an integer n, we need to find the number of positive integers whose factorial ends with n zeros.Examples:
Input : n = 1
Output : 5 6 7 8 9
Explanation: Here, 5! = 120, 6! = 720,
7! = 5040, 8! = 40320 and 9! = 362880.
Input : n = 2
Output : 10 11 12 13 14
Prerequisite : Trailing zeros... | [
{
"code": null,
"e": 25903,
"s": 25875,
"text": "\n22 Apr, 2021"
},
{
"code": null,
"e": 26017,
"s": 25903,
"text": "Given an integer n, we need to find the number of positive integers whose factorial ends with n zeros.Examples: "
},
{
"code": null,
"e": 26179,
"... |
Convert time from 24 hour clock to 12 hour clock format - GeeksforGeeks | 03 May, 2021
Given a time in a 24-hour clock (military time), convert it to 12-hour clock format.Note: Midnight is 00:00:00 on a 24-hour clock and 12:00:00 AM on a 12-hour clock. Noon is 12:00:00 on 24-hour clock and 12:00:00 PM on 12-hour clock.A string will be given of the format hh:mm:ss and output should be in the ... | [
{
"code": null,
"e": 26109,
"s": 26081,
"text": "\n03 May, 2021"
},
{
"code": null,
"e": 26552,
"s": 26109,
"text": "Given a time in a 24-hour clock (military time), convert it to 12-hour clock format.Note: Midnight is 00:00:00 on a 24-hour clock and 12:00:00 AM on a 12-hour cloc... |
How to Calculate F1 Score in R? - GeeksforGeeks | 19 Dec, 2021
In this article, we will be looking at the approach to calculate F1 Score using the various packages and their various functionalities in the R language.
The F-score or F-measure is a measure of a test’s accuracy. It is calculated from the precision and recall of the test, where the precision is the number... | [
{
"code": null,
"e": 26487,
"s": 26459,
"text": "\n19 Dec, 2021"
},
{
"code": null,
"e": 26641,
"s": 26487,
"text": "In this article, we will be looking at the approach to calculate F1 Score using the various packages and their various functionalities in the R language."
},
{... |
Types of Linked List - GeeksforGeeks | 28 Mar, 2022
A linked list is a linear data structure, in which the elements are not stored at contiguous memory locations. The elements in a linked list are linked using pointers. In simple words, a linked list consists of nodes where each node contains a data field and a reference(link) to the next node in the list. ... | [
{
"code": null,
"e": 26041,
"s": 26013,
"text": "\n28 Mar, 2022"
},
{
"code": null,
"e": 26349,
"s": 26041,
"text": "A linked list is a linear data structure, in which the elements are not stored at contiguous memory locations. The elements in a linked list are linked using point... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.