Problem 57545. Integer vector optimal lossless deduplication
Solution Stats
Problem Comments
-
3 Comments
Hello, the problem could be solved by hard-coding the values of the test cases.
Can you add test case(s) to take care of the issue? Let me know if you need help in doing that.
Of course you can do hard-coding, but that will also make you far away from the smallest solution size. There are always cheaters in this community and you can never take care of all of them.
@Dyuman Joshi
Also I don't know how to get the best error of a randomly generated test case without leaking the algorithm to get the best error.
Solution Comments
Show commentsProblem Recent Solvers3
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52423 Solvers
-
Vectorize the digits of an Integer
334 Solvers
-
Number of odd and even elements within matrix
158 Solvers
-
427 Solvers
-
Matlab Basics - Absolute Value
662 Solvers
More from this Author14
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!