I need help with a coding project

Job ID: 34674845

Budget: $30 – $250 USD

Transform a data object we provide using JavaScript/Typescript.

You will find the challenge and instructions in src/app/main.component.ts. Add your code to the getAnimalsByClass() method.

If you are applying for SE I you do not need to remove duplicates or run the tests to see if they pass.

If you are applying for SE II or SE III. Run ng test to see if your solution passes.

Transform the "animalsByContinent" object (see mock-animals.ts) so that animals across every continent are organized by "class" and alphabetized by "name." Remove any duplicates. Try to make the transformation efficient, as you may have to manipulate a very large dataset.

The result should be an object with a single key for each distinct animal class within the dataset (mammal, reptile, bird, etc). Each of these class keys should map to a list of animal objects of that class (see the adjacent test file and view the getMockAnimalsByClass() function for an example). These lists should not contain duplicates and should be alphabetized from "A" to "z".

As you complete the challenge, please take some time to write up some details regarding your general thought process (e.g. trade-offs you are choosing to make, what you would do if you had more time, how your code would perform against a larger dataset, and similar).

We want to respect the time you're taking to do this coding challenge, and also don't want to limit you to any specific time frame. Our estimation is that this may take between 2 and 4 hours.

https://github.com/LogicGateTech/front-end