Brussels | ITP-1-2026 | Nikita Sharma | Sprint-1#141
Conversation
jamesishimwe
left a comment
There was a problem hiding this comment.
The code works as expected and all the tasks are completed. The code is easy to understand and the variable and function names are well defined,clear and meaningful. The code is well structured and well formatted.
|
Well done Nikita! Your implementations are clear and easy to read, and the logic for sum, max, dedupe, and the includes refactor looks correct. The tests also cover the expected cases nicely. What was implemented well:dedupe.js is implemented correctly and clearly. Logic / syntax checkLooks correct Small issues to mention |
| } | ||
| } | ||
|
|
||
| console.log(calculateMedian([1, "apple", 2, 3, 4])); // Output: 2.5 |
There was a problem hiding this comment.
median.js has a debug console.log
Self checklist
Changelist
fix the code.
Added tests to implement the code.
Added refactoring to do the code with other way.