Placement preparation
Aptitude, coding, verbal ability, and reasoning, broken down with worked examples for Indian engineering placements. 553 articles.
Check if a Graph is a Tree: Three Algorithms in Python
Three algorithms to check if an undirected graph is a tree: DFS with parent tracking, Union-Find, and edge-count plus BFS. Python code for each, O(V+E) analysis.
Count Common Subsequences of Two Strings
Count common subsequences of two strings using DP: derive the recurrence, trace a 4x4 table, implement in Python, and cut space to O(min(m,n)) with a rolling array.
Minimum Number of Jumps to Reach End of an Array
Greedy O(n) and DP O(n²) solutions for the minimum jumps problem, with worked examples verified from scratch and C, Python, Java programs.
Matrix Row and Column Sums: Find the Greatest
Find the sum of each row and column of a matrix, then identify which row and column has the greatest sum. Algorithm, C, Java, Python code, complexity.
Frequency of Each Array Element: 3 Approaches
Count how often each element appears in an array using nested loops, sorted sweep, and hash map. Python and C++ code with complexity analysis and edge cases.
Find Greatest of Two or Three Numbers: C, Python, and Java
If-else, ternary, and built-in approaches to finding the max of 2 or 3 numbers in C, Python, and Java, with N-numbers loop and edge cases.
Kth Maximum Element in a Binary Search Tree
Reverse inorder traversal finds the k-th maximum in a BST in O(H+k) time. Worked example with a 7-node tree, C++, Java, and Python code, plus edge cases.
Median of Two Sorted Arrays: Brute Force and Binary Search
Find the median of two sorted arrays using the merge approach and the O(log min(m,n)) binary search partition. Verified Python code included.
Saddle Point of a Matrix: C, C++, Java, and Python Programs
A saddle point is the minimum in its row and the maximum in its column. Learn the O(M×N) two-pass algorithm with working code in C, C++, Java, and Python.
Sum of Numbers in a Range: Naïve, Formula, Prefix Array
Three approaches to the range sum problem: O(n) loop, Gauss O(1) closed-form, and prefix-sum array for repeated queries. Verified examples in C, Java, and Python.
Program to Remove Spaces from a String: Python & C
Remove all whitespace from a string in Python and C: two-pointer, build-new-string, and library one-liners, with complexity analysis and edge cases.
Reverse Every Word in a Sentence: C, Java, Python
Two-pointer algorithm and code in C, Java, and Python to reverse every individual word in a sentence while keeping word order unchanged.
Python Command Line Arguments: sys.argv and argparse
Learn to read Python command line arguments with sys.argv and argparse. Covers basic usage, named flags, type conversion, and practical script patterns.
Python Inbuilt Looping Functions: A Complete Guide
Python's nine built-in iteration helpers: range, enumerate, zip, map, filter, sorted, reversed, iter, and next, with code examples for placement coding rounds.
Python Input: input(), Type Conversion, and Multiple Values
Learn how Python's input() function works, how to convert strings to int or float, read multiple values with split() and map(), and handle EOFError in placement tests.
Regular Expressions in Python: A Complete Guide
Python's re module: core syntax, API functions (search, findall, sub, split), compiled patterns, and real-world email and log examples for placement coding rounds.
Sort All Elements of a Matrix in Ascending Order
Sort every element of an M×N matrix in ascending order: flatten-sort-refill algorithm, worked 3×3 example, row-wise variant, and edge cases explained.
Spiral Matrix Printing: Print a 2D Matrix in Spiral Order
Print a 2D matrix in spiral order with the boundary-shrink approach. Python and Java solutions with traced examples for 3×3, 3×4, and edge cases.
Python operator Module: Operators as First-Class Functions
Python's operator module turns every built-in operator into a callable: add, mul, itemgetter, and more. Faster than lambdas in tight loops.
Squaring Numbers Ending in 5: The n(n+1) Shortcut
Square any number ending in 5 in seconds: multiply the prefix by the next integer, append 25. Full algebraic proof, 2-digit and 3-digit examples, aptitude practice.
10 Technical Interview and Aptitude Questions: Set 6 (Solved)
Solved Set 6: arrays vs lists, OOP pillars, macros vs functions, Floyd's cycle detection, and swap-without-temp in C, ten questions campus drives test.
From Campus to Corporate: 10 Things Engineering Graduates Should Know
Your first IT job in India changes more than your schedule. Here are 10 things every engineering fresher should know before Day 1 at TCS, Infosys, or a product company.
Python Arrays: Operations, Patterns, and Placement Tips (2026)
Learn Python arrays with the array module, lists vs arrays, common operations, time complexity, and classic placement patterns like rotation and two-sum.
Polygons: Types, Properties and Formulas for Aptitude Tests
Polygon types, properties, and core formulas for placement aptitude: sum of interior angles, exterior angles, area formulas, and worked examples for TCS NQT and AMCAT.
Right Triangles: Definitions, Properties, and Aptitude Applications
Master right triangle properties, Pythagorean triples, 30-60-90 and 45-45-90 ratios, and trig ratios with worked placement aptitude examples.
How to Build Placement-Test Vocabulary: 4 Pillars and a 6-Week Plan
Placement tests draw from a 200-to-300 high-frequency word band. Master synonyms, antonyms, analogies, and sentence completion with root-affix strategy and a 6-week plan.
Static Functions in C: Scope, Linkage, and Examples
A static function in C restricts a function to its own source file via internal linkage. Learn scope, name-collision avoidance, and see a two-file worked example.
ZoomRx Careers 2026: Hiring Process, Roles, and Interview Pattern
ZoomRx is a life sciences analytics firm hiring freshers across Chennai and Bangalore. This 2026 guide covers roles, selection process, and interview rounds.
6 HR Interview Questions Every Fresher Gets Asked (Sample Answers)
The six HR questions that appear in nearly every campus placement interview. What interviewers test, how to structure answers using CAR framework, and mistakes to avoid.
Add Two Numbers in Python: 5 Methods with Code
Five Python methods to add two numbers: + operator, function, f-string one-liner, float input, and bitwise XOR. Code, output, and when to use each.
Advantages and Features of Python Programming (2026 Guide)
Python's advantages include readable syntax, 700K+ PyPI packages, cross-platform portability, and first-class AI/ML support. Honest look at the trade-offs too.
Merge Sort Algorithm in C, C++, and Java with Examples
Step-by-step merge sort implementation in C, C++, and Java. Covers divide-and-conquer logic, O(n log n) complexity, stability, and comparison with quicksort.
AMCAT Automata Question Bank: LRU Cache and Circular Linked List
Practice set for the AMCAT Automata coding round: LRU cache miss count and sorted circular linked list insertion, with traced test cases and grader notes.
Automation Anywhere Send Email Command: 2026 SMTP and HTML Setup Guide
Set up the Send Email command in Automation Anywhere: SMTP config, Gmail App Passwords, HTML formatting, and fixes for the most common email bot errors.
Bitwise Operators in Python: Truth Tables, Idioms, and Examples
Learn Python's 6 bitwise operators (AND, OR, XOR, NOT, left shift, right shift) with truth tables, placement idioms, and worked examples verified from first principles.
Bubble Sort in C, C++, and Java: Code and Complexity
Bubble sort implemented in C, C++, and Java with step-by-step trace, optimised early-exit variant, and O(n²) complexity analysis. Placement-interview ready.
Capitalize First and Last Letter of Each Word: Python, C, Java
Capitalize the first and last letter of each word in a string. Covers word-boundary detection, edge cases, and complete code in Python, C, and Java.
Check if a Substring Exists in a String in Python
Five ways to check if a substring exists in a Python string: in operator, find(), index(), count(), and re.search(). Edge cases and KMP included.
Python Closures: Lexical Scope, Late Binding, and Decorators
Learn how Python closures work: nested functions, lexical scope, the nonlocal keyword, the late-binding loop trap, and how decorators use closures under the hood.
Common C Programming Errors: 10 Mistakes to Fix Before Interviews
Syntax errors, off-by-one array indexing, and missing semicolons are the C mistakes that derail placement coding rounds. Here is how to fix every one of them.
break, continue, and pass in Python: A Practical Guide
Learn how break, continue, and pass work in Python loops, with verified code examples, the for-else pattern, and placement exam edge cases.
Factorial in Python: Three Methods for Placement Tests
Three ways to write a factorial in Python: for loop, recursion with the correct base case, and math.factorial, with placement aptitude context.
Guess the Number Game in Python: Code, Logic, and Variants
Build a number-guessing game in Python using random, input(), and while loops. Includes a basic version, a max-attempts variant, and higher-or-lower hint logic.
Python Data Types Explained: int, str, list, dict, tuple
Python determines a variable's type from its value, not a declaration. This guide covers int, float, str, list, tuple, set, and dict with placement-round examples.
Exception Handling in Python: Complete Guide
Python exception handling: try, except, else, finally, the exception hierarchy, custom exception classes, raise from chaining, and ExceptionGroup (Python 3.11+).
exit(), abort(), and assert() in C: When to Use Each
exit() cleans up buffers and calls atexit() handlers; abort() raises SIGABRT with no cleanup; assert() crashes debug builds on false conditions. Learn which to use when.
Find All Triplets With Given Sum: Three Approaches
Solve the find-all-triplets problem three ways: O(n^3) brute force, O(n^2) two-pointer, O(n^2) hashing. Worked trace and Python code.
Array Subset Check in C, C++, Java and Python
Four methods to check if an array is a subset of another, with C, C++, Java and Python code. Time complexity and duplicate handling for placement interviews.
Get the AI Career Roadmap 2026 (free PDF)
2026 placement-drive AI patterns, project picks recruiters credit, and a prep timeline that fits beside aptitude and coding work.
Download the free PDF