What do you want to save?
Add Code snippet
New code examples
-
C++ 2022-03-15 06:55:06
segment tree complexity
// C++ program to show segment tree operations like construction, query // and update #include <bits/stdc++.h> using namespace std; // A utility function to get the middle index from corner indexes. int getMid(int s, int e) { return s + (e -s)... Add solution -
PHP 2022-02-24 17:05:02
how to make a sign-up database
<?php session_start(); // initializing variables $username = ""; $email = ""; $errors = array(); // connect to the database $db = mysqli_connect('localhost', 'root', '', 'registration'); // REGISTER USER if (isset($_POST['reg... Add solution -
Python 2022-02-11 23:15:26
R sample() funciton in python
import numpy as np np.random.choice(values, size=1000, replace=True, p=probability) # values is the input values that correspond to the weights # size is the number of samples to generate # Replace specifies if it's with or without replacement # p is t... Add solution -
Other 2021-10-16 13:02:11
api testing challenges
Some of the challenges we face while doing API testing are as follows • Selecting proper parameters and its combinations • Categorizing the parameters properly • Proper call sequencing is required as this may lead to inadequate coverage in... Add solution -
C 2021-10-16 12:09:12
Segment tree
// C++ program to show segment tree operations like construction, query // and update #include <bits/stdc++.h> using namespace std; // A utility function to get the middle index from corner indexes. int getMid(int s, int e) { return s + (e -s)... Add solution -
PHP 2021-09-23 14:26:03
registation form php
<?php session_start(); // initializing variables $username = ""; $email = ""; $errors = array(); // connect to the database $db = mysqli_connect('localhost', 'root', '', 'registration'); // REGISTER USER if (isset($_POST['reg... Add solution -
Other 2021-09-06 13:07:04
challenges in api testing
Some of the challenges we face while doing API testing are as follows • Selecting proper parameters and its combinations • Categorizing the parameters properly • Proper call sequencing is required as this may lead to inadequate coverage in... Add solution -
Python 2021-09-03 04:22:01
recalling a function in python
# defining a function with no input values def function(): print("test") # recalling function above function() #or # defining a function with two input values def function(input1, input2): print(input1) print(input2) # recalling the func... Add solution -
Other 2021-08-30 02:30:02
what are the challenges in api
Some of the challenges we face while doing API testing are as follows • Selecting proper parameters and its combinations • Categorizing the parameters properly • Proper call sequencing is required as this may lead to inadequate coverage in... Add solution