Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

COUNTING WORDS WITH LINKED LIST The goal of the project: The words in the text will be counted and sorted to the linked list from

COUNTING WORDS WITH LINKED LIST

The goal of the project: The words in the text will be counted and sorted to the linked list from

high to low.

Language: C language

NOTE: The problem will be solved using linked list.

Processing Order

1) Find the word in text.

2) Find out how many have been used.

3) Add to linked list from high to low.

There should NOT be the process of counting all words and numbers and adding them to

the linked list.

DO NOT USE ARRAYS TO COMPLETE THE PROCESS!! YOU CAN ONLY USE AN ARRAY

( array[100] ) FOR HOLDING A WORD.

4) The linked list should contain word and number information. A word can only be found once

in the linked list.

5) All the 3 methods must be used. (Adding to the beginning or ending, inserting)

EXAMPLE

text:

* * * * * En scak kasm rekoru daha nce 2016 ve 2019 yllarnda deimiti . Kresel snmann

etkileri her geen yl daha net grlyor . En scak kasm rekoru daha nce 2016 ve 2019

yllarnda deimiti . 2019'un ardndan 2020 ylnn kasm aynda rekor krlm oldu . En scak

kasm rekoru daha nce 2016 ve 2019 yllarnda deimiti . Detaylar birazdan ntv.com.trde

sample screen output:

1: *: 5

2. . : 5

3. kasm: 4

4. daha: 4

5. en: 3

6. scak: 3

7. rekoru: 3

8. nce: 3

9. 2016: 3

10. 2019: 3

11. ve: 3

12. yllarnda: 3

13. deimiti: 3

14. kresel: 1

15. snmann: 1

16. etkileri: 1

17. her: 1

18. geen: 1

19. yl: 1

20. net: 1

21. grlyor: 1

22. 2019'un: 1

23. ardndan: 1

24. 2020: 1

25. ylnn: 1

.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

PC Magazine Guide To Client Server Databases

Authors: Joe Salemi

1st Edition

156276070X, 978-1562760700

Students also viewed these Databases questions