Given a list of elements p, the task is to convert the whole list into a list of sets. Examples: Input: p = ['apple', 'banana', 'cherry'] Output: [{‘apple’}, {‘banana’}, {‘cherry’}] Explanation : ...read more
Given a list of elements p, the task is to convert the whole list into a list of sets. Examples: Input: p = ['apple', 'banana', 'cherry'] Output: [{‘apple’}, {‘banana’}, {‘cherry’}] Explanation : ...read more