Problem in frequency sorting in c | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Problem in frequency sorting in c

This is a c program to perform multiple operations on array in c everything working fine other than frequency sort function this function should sort the array based on the frequency Most repeated values should come first Example:- Input = 1 2 4 1 3 4 1 2 4 Output = 1 1 1 4 4 4 2 2 3 Please help me solving this https://code.sololearn.com/cNDXylWLQA7J/?ref=app

21st Oct 2021, 6:10 PM
Bharani Kudala
Bharani Kudala - avatar
1 Answer
21st Oct 2021, 9:36 PM
JaScript
JaScript - avatar