chore(i18n,curriculum): update translations
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
e139fbcf13
commit
c1fb339bbc
@ -46,6 +46,25 @@ assert(
|
||||
);
|
||||
```
|
||||
|
||||
Tentar remover um elemento de uma árvore vazia deve retornar `null`.
|
||||
|
||||
```js
|
||||
assert(
|
||||
(function () {
|
||||
var test = false;
|
||||
if (typeof BinarySearchTree !== 'undefined') {
|
||||
test = new BinarySearchTree();
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
if (typeof test.remove !== 'function') {
|
||||
return false;
|
||||
}
|
||||
return test.remove(100) == null;
|
||||
})()
|
||||
);
|
||||
```
|
||||
|
||||
Tentar remover um elemento que não existe deve retornar `null`.
|
||||
|
||||
```js
|
||||
@ -60,6 +79,8 @@ assert(
|
||||
if (typeof test.remove !== 'function') {
|
||||
return false;
|
||||
}
|
||||
test.add(15);
|
||||
test.add(30);
|
||||
return test.remove(100) == null;
|
||||
})()
|
||||
);
|
||||
|
@ -22,7 +22,7 @@ Podemos ver que essa sequência (começando em 13 e terminando em 1) contém 10
|
||||
|
||||
Qual número inicial, sob o `limit` (limite) definido, produz a sequência mais longa?
|
||||
|
||||
**Observação:** uma vez iniciada, os termos na sequência podem passar de um milhão.
|
||||
**Observação:** uma vez iniciada, os termos na sequência podem passar acima do `limit`.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
Reference in New Issue
Block a user