I need a program in C++ that displays the longest sequences with at most 3 distinct values in a vector.
Answers
Answered by
3
Answer:
This program takes n number of element from user (where, n is specified by user) and stores data in an array.
Similar questions
Physics,
1 month ago
English,
3 months ago
Computer Science,
3 months ago
Social Sciences,
10 months ago
Math,
10 months ago