Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The goal is to find duplicates(same book name) from two input files and output the duplicates to an output file in ascending order by using

The goal is to find duplicates(same book name) from two input files and output the duplicates to an output file in ascending order by using linked list in C++.

Please help and reply as soon as possible. Thank you.

INPUT FILE:

haru.txt

  • War and Peace by Leo Tolstoy
  • Don Quixote by Miguel de Cervantes
  • Ulysses by James Joyce
  • In Search of Lost Time by Marcel Proust
  • The Brothers Karamazov by Fyodor Dostoyevsky
  • Madame Bovary by Gustave Flaubert
  • The Magic Mountain by Thomas Mann

jitu.txt

  • Bleak House by Charles Dickens
  • The Brothers Karamazov by Fyodor Dostoyevsky
  • Great Expectations by Charles Dickens
  • The Ambassadors by Henry James
  • The Magic Mountain by Thomas Mann
  • War and Peace by Leo Tolstoy
  • Crime and Punishment by Fyodor Dostoyevsky

OUTPUT FILE:

Output.txt

Alikeness is 3 out of 7:

1. The Brothers Karamazov by Fyodor Dostoyevsky

2. The Magic Mountain by Thomas Mann

3. War and Peace by Leo Tolstoy

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_2

Step: 3

blur-text-image_3

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

Expert Performance Indexing In SQL Server

Authors: Jason Strate, Grant Fritchey

2nd Edition

1484211189, 9781484211182

More Books

Students also viewed these Databases questions

Question

2. Do you find change a. invigorating? b. stressful? _______

Answered: 1 week ago

Question

How was their resistance overcome?

Answered: 1 week ago