|
|
|
|
@ -25,8 +25,8 @@ Note: If you were given this problem in an inteview, important things to ask you
|
|
|
|
|
- Is whitespace significant? (for this question, the white space is not important)
|
|
|
|
|
|
|
|
|
|
```javascript
|
|
|
|
|
isPermutation('cat top', 'tap pat`) => false
|
|
|
|
|
isPermutation('cat top', `tot cap`) => true
|
|
|
|
|
isPermutation(`cat top`, `tap pat`) => false
|
|
|
|
|
isPermutation(`cat top`, `tot cap`) => true
|
|
|
|
|
```
|
|
|
|
|
Here is some starter code:
|
|
|
|
|
```javascript
|
|
|
|
|
|