fix: remove Good luck! comment from challenge seed code (#39575)
This commit is contained in:
@ -38,7 +38,7 @@ tests:
|
||||
|
||||
```js
|
||||
function getFinalOpenedDoors(numDoors) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -58,7 +58,7 @@ tests:
|
||||
|
||||
```js
|
||||
function solve24 (numStr) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -66,7 +66,7 @@ tests:
|
||||
|
||||
```js
|
||||
function numberOfNames(num) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -75,7 +75,7 @@ tests:
|
||||
|
||||
```js
|
||||
function canMakeWord(word) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -51,7 +51,7 @@ tests:
|
||||
|
||||
```js
|
||||
function getDPA(num) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -44,7 +44,7 @@ tests:
|
||||
|
||||
```js
|
||||
function accumulator(sum) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -45,7 +45,7 @@ tests:
|
||||
|
||||
```js
|
||||
function ack(m, n) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -76,7 +76,7 @@ const testArr = [
|
||||
];
|
||||
|
||||
function formatText(input, justification) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -46,7 +46,7 @@ tests:
|
||||
|
||||
```js
|
||||
function amicablePairsUpTo(maxNum) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -40,7 +40,7 @@ tests:
|
||||
|
||||
```js
|
||||
function mode(arr) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -58,7 +58,7 @@ tests:
|
||||
|
||||
```js
|
||||
function pythagoreanMeans(rangeArr) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -39,7 +39,7 @@ tests:
|
||||
|
||||
```js
|
||||
function rms(arr) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -42,7 +42,7 @@ tests:
|
||||
|
||||
```js
|
||||
function babbage(babbageNum, endDigits) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -80,7 +80,7 @@ tests:
|
||||
|
||||
```js
|
||||
function isBalanced(str) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -66,7 +66,7 @@ tests:
|
||||
|
||||
```js
|
||||
function getCircles(...args) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -114,7 +114,7 @@ Point.prototype.getY = function() {
|
||||
};
|
||||
|
||||
function getClosestPair(pointsArr) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -52,7 +52,7 @@ tests:
|
||||
|
||||
```js
|
||||
function combinations(m, n) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -58,7 +58,7 @@ tests:
|
||||
|
||||
```js
|
||||
function quibble(words) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -60,12 +60,12 @@ tests:
|
||||
|
||||
```js
|
||||
function allEqual(arr) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function azSorted(arr) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -75,7 +75,7 @@ tests:
|
||||
|
||||
```js
|
||||
function convertSeconds(sec) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -48,7 +48,7 @@ tests:
|
||||
|
||||
```js
|
||||
function countSubstring(str, subStr) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -51,7 +51,7 @@ tests:
|
||||
|
||||
```js
|
||||
function countCoins() {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -59,7 +59,7 @@ tests:
|
||||
|
||||
```js
|
||||
function cramersRule(matrix, freeTerms) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -51,7 +51,7 @@ tests:
|
||||
|
||||
```js
|
||||
function standardDeviation(arr) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -57,7 +57,7 @@ tests:
|
||||
|
||||
```js
|
||||
function isCusip(s) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -99,7 +99,7 @@ tests:
|
||||
|
||||
```js
|
||||
function cutRectangle(w, h) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -45,7 +45,7 @@ tests:
|
||||
|
||||
```js
|
||||
function getDateFormats() {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -48,7 +48,7 @@ tests:
|
||||
|
||||
```js
|
||||
function add12Hours(dateString) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -40,7 +40,7 @@ tests:
|
||||
|
||||
```js
|
||||
function findXmasSunday(start, end) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -100,7 +100,7 @@ tests:
|
||||
|
||||
```js
|
||||
function dealFreeCell(seed) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -49,7 +49,7 @@ tests:
|
||||
|
||||
```js
|
||||
function deepcopy(obj) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -65,7 +65,7 @@ tests:
|
||||
|
||||
```js
|
||||
function Num(n) {
|
||||
// Good luck!
|
||||
|
||||
return n;
|
||||
}
|
||||
```
|
||||
|
@ -57,7 +57,7 @@ tests:
|
||||
|
||||
```js
|
||||
function combinations(possibleNumbers, total) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -48,7 +48,7 @@ tests:
|
||||
|
||||
```js
|
||||
function discordianDate(date) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -51,7 +51,7 @@ tests:
|
||||
|
||||
```js
|
||||
function dotProduct(ary1, ary2) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -57,7 +57,7 @@ tests:
|
||||
|
||||
```js
|
||||
function operation(op, arr1, arr2) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -49,7 +49,7 @@ tests:
|
||||
|
||||
```js
|
||||
function emirps(n) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -49,7 +49,7 @@ tests:
|
||||
|
||||
```js
|
||||
function entropy(s) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -67,7 +67,7 @@ tests:
|
||||
|
||||
```js
|
||||
function equilibrium(a) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -97,7 +97,7 @@ tests:
|
||||
|
||||
```js
|
||||
function eth_mult(a, b) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -97,7 +97,7 @@ tests:
|
||||
|
||||
```js
|
||||
function eulersMethod(x1, y1, x2, h) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -46,7 +46,7 @@ tests:
|
||||
|
||||
```js
|
||||
function binom(n, k) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -166,7 +166,7 @@ tests:
|
||||
|
||||
```js
|
||||
function markov(rules,test) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -57,7 +57,7 @@ tests:
|
||||
|
||||
```js
|
||||
function brain(prog) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -50,7 +50,7 @@ tests:
|
||||
|
||||
```js
|
||||
function primeGenerator(num, showPrimes) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -52,7 +52,7 @@ tests:
|
||||
|
||||
```js
|
||||
function factorial(n) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -68,7 +68,7 @@ tests:
|
||||
|
||||
```js
|
||||
function check_mersenne(p) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -41,7 +41,7 @@ tests:
|
||||
|
||||
```js
|
||||
function factors(num) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -56,7 +56,7 @@ tests:
|
||||
|
||||
```js
|
||||
function farey(n) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -70,7 +70,7 @@ tests:
|
||||
|
||||
```js
|
||||
function fib_luc(n, len, w) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -46,7 +46,7 @@ tests:
|
||||
|
||||
```js
|
||||
function fibonacci(n) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -44,7 +44,7 @@ tests:
|
||||
|
||||
```js
|
||||
function fibWord(n) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -51,7 +51,7 @@ tests:
|
||||
|
||||
```js
|
||||
function fizzBuzz() {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -59,7 +59,7 @@ tests:
|
||||
|
||||
```js
|
||||
function fractran(progStr) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -48,7 +48,7 @@ tests:
|
||||
|
||||
```js
|
||||
function gamma(x) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -48,7 +48,7 @@ tests:
|
||||
|
||||
```js
|
||||
function gaussianElimination(A,b) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -54,7 +54,7 @@ tests:
|
||||
|
||||
```js
|
||||
function genFizzBuzz(rules, num) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -46,7 +46,7 @@ tests:
|
||||
|
||||
```js
|
||||
function lascii(cFrom, cTo) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -50,7 +50,7 @@ tests:
|
||||
|
||||
```js
|
||||
function exponentialGenerator(n) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -70,7 +70,7 @@ tests:
|
||||
|
||||
```js
|
||||
function gray(enc, number) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -48,7 +48,7 @@ tests:
|
||||
|
||||
```js
|
||||
function gcd(a, b) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -49,7 +49,7 @@ tests:
|
||||
|
||||
```js
|
||||
function maximumSubsequence(population) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -53,7 +53,7 @@ tests:
|
||||
// noprotect
|
||||
function hailstoneSequence() {
|
||||
const res = [];
|
||||
// Good luck!
|
||||
|
||||
|
||||
return res;
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ tests:
|
||||
|
||||
```js
|
||||
function happy(number) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -50,7 +50,7 @@ tests:
|
||||
|
||||
```js
|
||||
function arrToObj (keys, vals) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -162,7 +162,7 @@ tests:
|
||||
|
||||
```js
|
||||
function hashJoin(hash1, hash2) {
|
||||
// Good luck!
|
||||
|
||||
return [];
|
||||
}
|
||||
```
|
||||
|
@ -52,7 +52,7 @@ tests:
|
||||
```js
|
||||
// noprotect
|
||||
function heronianTriangle(n) {
|
||||
// Good luck!
|
||||
|
||||
|
||||
return [];
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ tests:
|
||||
|
||||
```js
|
||||
function hofstadterQ(n) {
|
||||
// Good luck!
|
||||
|
||||
return n;
|
||||
}
|
||||
```
|
||||
|
@ -58,7 +58,7 @@ tests:
|
||||
|
||||
```js
|
||||
function IBeforeExceptC(word) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -53,7 +53,7 @@ tests:
|
||||
|
||||
```js
|
||||
function isValid(iban) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -47,7 +47,7 @@ tests:
|
||||
|
||||
```js
|
||||
function idMatrix(n) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -52,7 +52,7 @@ tests:
|
||||
|
||||
```js
|
||||
function iteratedSquare(n) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -65,7 +65,7 @@ tests:
|
||||
|
||||
```js
|
||||
function jaro(s, t) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -49,7 +49,7 @@ tests:
|
||||
|
||||
```js
|
||||
function jortsort(array) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -53,7 +53,7 @@ tests:
|
||||
|
||||
```js
|
||||
function josephus(init, kill) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -58,7 +58,7 @@ tests:
|
||||
|
||||
```js
|
||||
function kdNN(fpoints, fpoint) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -62,7 +62,7 @@ tests:
|
||||
|
||||
```js
|
||||
function isKaprekar(n, bs) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -47,7 +47,7 @@ tests:
|
||||
|
||||
```js
|
||||
function knapsack(items, maxweight) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -45,7 +45,7 @@ tests:
|
||||
|
||||
```js
|
||||
function findBestPack(data, maxweight) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -45,7 +45,7 @@ tests:
|
||||
|
||||
```js
|
||||
function knapContinuous(items, maxweight) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -47,7 +47,7 @@ tests:
|
||||
|
||||
```js
|
||||
function knapsackUnbounded(items, maxweight, maxvolume) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -48,7 +48,7 @@ tests:
|
||||
|
||||
```js
|
||||
function knightTour(w, h) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -51,7 +51,7 @@ tests:
|
||||
|
||||
```js
|
||||
function maxCombine(xs) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -57,7 +57,7 @@ tests:
|
||||
|
||||
```js
|
||||
function lastFriday(year, month) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -53,7 +53,7 @@ tests:
|
||||
|
||||
```js
|
||||
function findLongestChain(items) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -53,7 +53,7 @@ tests:
|
||||
|
||||
```js
|
||||
function isLeapYear(year) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -57,7 +57,7 @@ tests:
|
||||
|
||||
```js
|
||||
function LCM(A) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -60,7 +60,7 @@ tests:
|
||||
|
||||
```js
|
||||
function leftFactorial(n) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -50,7 +50,7 @@ tests:
|
||||
|
||||
```js
|
||||
function letterFrequency(txt) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -56,7 +56,7 @@ tests:
|
||||
|
||||
```js
|
||||
function levenshtein(a, b) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -54,7 +54,7 @@ tests:
|
||||
|
||||
```js
|
||||
function linearCongGenerator(r0, a, c, m, n) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -47,7 +47,7 @@ tests:
|
||||
|
||||
```js
|
||||
function mult(strNum1, strNum2) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -50,7 +50,7 @@ tests:
|
||||
|
||||
```js
|
||||
function parseSexpr(str) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -53,7 +53,7 @@ tests:
|
||||
```js
|
||||
// noprotect
|
||||
function splitCoconuts(intSailors) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -58,7 +58,7 @@ tests:
|
||||
|
||||
```js
|
||||
function sedol(input) {
|
||||
// Good luck!
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
@ -55,7 +55,7 @@ tests:
|
||||
|
||||
```js
|
||||
function isSelfDescribing(n) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -42,7 +42,7 @@ tests:
|
||||
|
||||
```js
|
||||
function sortByKey(arr) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -53,7 +53,7 @@ tests:
|
||||
|
||||
```js
|
||||
function sortDisjoint(values, indices) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -56,7 +56,7 @@ tests:
|
||||
|
||||
```js
|
||||
function stableSort(arr) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -48,7 +48,7 @@ tests:
|
||||
|
||||
```js
|
||||
function lengthSorter(arr) {
|
||||
// Good luck!
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user