Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guillaume-gomez/linkedlisttdd
https://github.com/guillaume-gomez/linkedlisttdd
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/guillaume-gomez/linkedlisttdd
- Owner: guillaume-gomez
- Created: 2019-10-17T15:25:49.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T22:53:29.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T11:20:17.536Z (about 1 month ago)
- Language: TypeScript
- Size: 14.1 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### Front end test
The test is splitted in three parts
- creation of a linked list and tool functions to manipulate them
- two react components to display a linked list
- improve the react components styleSome parts of the code *are dirty* on purpose :)
## Part 1:
![schema](./schema.jpeg)We want you to develop a library to handle linked lists in typescript. Some functions are already written.
You should :
- Write the missing functions
- Make sure every unit test passes[more info about linked list](https://en.wikipedia.org/wiki/Linked_list)
## Part 2:
Two components are developped to display a linked list in react.
- LinkedListManager.tsx manage the linked list
- and NodeLinkedList.tsx stores the data node
_Linked list is a muted data structure. So obviously, thoses react components are buggy (react don't like mutated data :) )So again, do not mutate data in react components like in this repository !!
run tests
`./node_modules/jest/bin/jest.js`transpile code
`npx webpack`