Piyush365
  • 1

Suppose List 1 and List 2 are two lists of numbers in increasing order. Write an algorithm to find elements in List 2 that are not present in List 1.

  • 1

Create an empty result list. Iterate through each element of List 2. If the current element does not appear anywhere in List 1, append it to your result list, then report the finalized list.

Class 9 Ganita Manjari Part 2 chapter 11 question answer

Class 9 Ganita Manjari Part 2 chapter 11 The World of Algorithms solutions

Share

1 Answer

    1. Initialize an empty list named unique-to-List2.
    2. For each element y in List 2:

    Scan List 1 to see whether y exists in List 1.

    If y does not appear in List 1, append y to unique-to-List2.

    (Because the lists are in increasing order, stop searching once values in List 1 exceed y.)

    1. Report unique-to-List2.

     

    For more NCERT Solutions of Class 9 Maths Ganita Manjari Part 2 Chapter 11 The World of Algorithms Question Answer (2026-27)

    https://www.tiwariacademy.com/ncert-solutions/class-9/maths/ganita-manjari-chapter-11/

    • 0
Leave an answer

Leave an answer

Browse