Python for Placements
Basics
Syntax, variables, data types, input/output, operators.
Control Flow
if/elif/else, for, while, break, continue, pass.
Functions
Arguments, *args, **kwargs, lambda, recursion, scope.
Collections
Lists, tuples, sets, dictionaries, comprehensions.
Strings
Slicing, methods, anagrams, palindrome, frequency.
OOP
Class, object, inheritance, polymorphism, encapsulation, abstraction.
Exception Handling
try, except, else, finally, raise.
File Handling
read, write, append, with statement.
Modules
math, os, sys, collections, itertools.
DSA
Arrays, strings, hash maps, stacks, queues, linked lists, trees, graphs, heaps, sorting, searching,
recursion, dynamic programming basics.
Interview Programs
Prime, Fibonacci, factorial, palindrome, Armstrong, reverse string, duplicate elements, second
largest, frequency count.
Tips
Practice on LeetCode, HackerRank, CodeChef; explain time complexity and write clean code.