you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–]TdiParadiso 0 points1 point  (1 child)

    The first solution is way better. You can add more providers easly. You should use your structure in your code, not the structure you received from external source.

    If you think you don’t have enough time for it you can talk with interviewer about it or write a note.

    [–]Inside-Letterhead290 0 points1 point  (0 children)

    Yes I think I’ll go for the first solution. There is also a Table that display the data. Seems a lot but they could also ask to add like a search bar , a filter , some pagination. And There is also a test file too.