Questions and Answers
Problems and Solutions
Quotes help make search much faster. Example: "Practice Makes Perfect"
Thursday, May 11, 2017
FreeCodeCamp abTest(a,b) Sample Solution
function abTest(a, b) {
// Only change code below this line
if(a < 0 || b < 0){
return undefined;
}
// Only change code above this line
return Math.round(Math.pow(Math.sqrt(a) + Math.sqrt(b), 2));
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
This is an example of
scrolling text
using Javascript.
Popular Posts
(no title)
Question: The total power dissipation in an RL series circuit is due to which component? Answer: The total power dissipation is due to ...
What is the area of a trapezoid?
Type in the length of the shorter base of the trapezoid: meters Type in the length of the longer base of the trapezoid: meters ...
What is the area of an N-sided regular polygon?
A regular polygon has sides of equal length. Type in the length of the side of a sided regular polygon: meters Compute
What is the area of a regular myriagon (10000-sided polygon)?
Type in the length of the side of a myriagon: meters Compute
What is the area of a regular dodecagon (12-sided polygon)?
Type in the length of the side of a dodecagon: meters Compute
Codecademy Quantiles Common Quantiles 4/5
#Sample Solution --- title: "Quantiles" output: html_notebook --- ```{r} # load song data load("songs.Rda") ```...
Scrolling Text Using Javascript
This is the scrolling text . Code for the scrolling effect is written below: <style type="text/css"> #scro...
Find the solution to a system of linear equations with n unknowns
This script will try to solve for x in a system of linear equations of the form Ax=y . x is the unknown column vector and y is th...
Codecademy Learn R Review 10/10
#Sample Solution --- title: "Data Cleaning in R" output: html_notebook --- ```{r message=FALSE, warning=FALSE} # load libra...
Codefights additionWithoutCarrying(param1, param2)
//sample solution function additionWithoutCarrying(param1, param2) { var param1Array = param1.toString().split("").reverse()...
No comments:
Post a Comment