@kevinwin/

listOfDepths

Jest

Given a binary tree, write a program which creates a linked list for every depth. ie a tree with depth D will have D linked lists.

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