In python: removeAuthor(self, author) – method that removes all…
Question Answered step-by-step In python: removeAuthor(self, author) – method that removes all… In python:removeAuthor(self, author) – method that removes all Books written by a specified author. Since this is an Ordered Linked List, all Books written by a specific author should be located right next to each other in the Book Collection assuming your insertBook method has been implemented correctly. Note: the input parameter (author) may be in a different case than the case of the author that the book was constructed with – your solution must account for these situations.recursiveSearchTitle(self, title, bookNode) – method that searches the BookCollection for a specific Book title passed in the method. Note: this method must be done recursively. This method will return True if a Book in the BookCollection has the same title as the parameter title (str), and return False otherwise.Since this solution is recursive, this method will take in a reference to a BookCollectionNode object (bookNode) in the BookCollection that needs to be searched.The initial call to recursiveSearchTitle would pass in the head of the BookCollection since that’s the starting point to search through the entire BookCollection. For example:You can then recursively search through the BookCollection sub parts by recursively referring to the next BookCollectionNode in BookCollection that needs to be searched if the Book in bookNode does not have the title we’re looking for.Note: the input parameter title may be in a different case than the case of the title that the Book was constructed with – your solution must account for these situations (see assert statement above). Computer Science Engineering & Technology Python Programming CS 5 Share QuestionEmailCopy link Comments (0)


