Computer Science, asked by dadrock9000, 13 days ago

Write a program for given any list of numbers, it must return list of elements
which are repeated exactly 3 times in it. Note: Please do not use any built-in
functions or libraries. [10 marks]
Example #1
Input: [5, 4, 6, 4, 3, 4, 9, 3]
Output: [4]
Example #2
Input: [7, 4, 6, 2, 3, 3, 9, 4, 3, 6, 4, 7, 8, 7]
Output: 17, 4, 3]
Input I​

Answers

Answered by singhalshallt
1

The correct answer is (7,4,6,2,3,3,9,4,3,6,4,7,8,7)

Answered by Anonymous
2

QUESTIONS

Write a program for given any list of numbers, it must return list of elements

which are repeated exactly 3 times in it. Note: Please do not use any built-in

functions or libraries. [10 marks]

Example #1

Input: [5, 4, 6, 4, 3, 4, 9, 3]

Output: [4]

Example #2

Input: [7, 4, 6, 2, 3, 3, 9, 4, 3, 6, 4, 7, 8, 7]

Output: 17, 4, 3]

ANSWER :

Input: [7, 4, 6, 2, 3, 3, 9, 4, 3, 6, 4, 7, 8, 7]

Similar questions