โ† Cognizant questions

Python Core Concepts and Data Structures

Filed under Cognizant

The question

Explain the difference between sets and tuples, list data structures, dictionary data structures, remove duplicates in a list in one line, explain the __init__ method, inheritance, the pass keyword, and args/*args.

No write-up yet. Related questions below have one.

Related Cognizant questions

Collected from public candidate posts and coding forums. Updated Nov 2026.