Answer:
just refresh
Explanation:
you did level up i just checked, it just hasnt updated for you
Answer:
#include <stdio.h>
int main()
{
for (int n = 12; n > 0; n--) {
printf("%d x 2 = %d\n", n, n * 2);
}
}
Explanation:
Only one loop.
A computer virus is a malicious software program loaded onto a user's computer without the user's knowledge and performs malicious actions. It can self-replicate, inserting itself onto other programs or files, infecting them in the process.
Answer:
O(n) which is a linear space complexity
Explanation:
Space complexity is the amount of memory space needed for a program code to be executed and return results. Space complexity depends on the input space and the auxiliary space used by the algorithm.
The list or array is an integer array of 'n' items, with the memory size 4*n, which is the memory size of an integer multiplied by the number of items in the list. The listSize, i, and arithmeticSum are all integers, the memory space is 4(3) = 12. The return statement passes the content of the arithmetic variable to another variable of space 4.
The total space complexity of the algorithm is "4n + 16" which is a linear space complexity.
Answer:
b. & Puihaha
Explanation:
PHP variables are supposed to start with a $ sign.
Other rules followed by PHP variables are:
Starting character in variable name (after $) must be letter or _.
Other characters in variable names can be letters,numbers or _.
a. $_Puihaha
c. $Pui_haha
d. $Puihaha
satisfy these rules.
Whereas , b. & Puihaha does not satisfy as it starts with '&'. Moreover it also contains an invalid space character in the variable.