@kevinwin/

removeKFromList

Jest

Given a singly linked list of integers l and an integer k, remove all elements from list l that have a value equal to k.

fork
loading
Files
  • config.json
  • List.js
  • removeKFromList.js
  • removeKFromList.test.js
config.json
1
2
3
4
5
{
  "testRegex": ".*\\.test\\.js$",
  "testEnvironment": "node"
}