You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Knowledge Test
1) Write a function that counts the number of occurrences of a pair
of letters in a string. For example, the pair “ab” appears twice in
“xabaacbaxabb”.
2) Read a sequence of words from input. Use Quit as a word that
terminates the input. Print the words in the order they were
entered. Don’t print a word twice. Also write a function to sort the
words before printing them.
3) Define a class Interset for a set of integers. Provide union,
intersection, and symmetric difference operations