Placement preparation
Aptitude, coding, verbal ability, and reasoning, broken down with worked examples for Indian engineering placements. 539 articles.
How to Crack Verbal Ability in Placements: Part 2 Guide
Technique-level guide to reading comprehension, cloze passages, sentence correction patterns, and synonym strategy for TCS NQT, AMCAT, and Capgemini.
Height of a Binary Tree: Recursive and Iterative Methods
Calculate binary tree height using recursive (O(h) stack) and iterative BFS (O(w) queue) methods in C++, with trace-through examples and complexity trade-offs.
String Length Without strlen() in C: 3 Placement-Ready Methods
Three C programs that find string length without strlen(): loop scan, pointer arithmetic, and recursion, with traced outputs for TCS NQT and AMCAT rounds.
Generate Binary Numbers 1 to N: Queue and Arithmetic Methods in Java
Two Java methods to generate binary numbers from 1 to N: arithmetic division and queue-BFS. Includes Java code, complexity analysis, and placement interview context.
Fast Multiplication Trick for Numbers 90 to 100
The base-100 subtraction trick multiplies two numbers between 90 and 100 in four steps. Includes algebraic proof, eight worked examples, and the carry case.
How to Prepare for AMCAT in 2 Days: Study Plan
A module-by-module AMCAT preparation plan for engineering students covering English, Quantitative Ability, and the optional CS section in a 48-hour schedule.
How to Reverse a String in Python: 5 Methods Explained
Five ways to reverse a string in Python: slicing, reversed(), loop, recursion, and word-by-word, with code, complexity, and placement-round tips.
Natural Numbers, AP, GP and Means: Placement Aptitude Guide
Master the six core formulas for natural-number sums, arithmetic progressions, geometric progressions, and the AM-GM-HM inequality for placement aptitude.
iNautix Recruitment Process 2026: Test Pattern & Overview
iNautix Technologies (BNY Mellon) campus hiring: 4-round process, online test sections, technical interview topics, and preparation strategy for freshers.
Global and Static Variables in C: Initialization Rules
Global and static variables in C are zero-initialized by default. Learn storage-class rules, BSS vs. data segment, and placement MCQ patterns for TCS NQT and AMCAT.
Python In-Place Operator Functions: iadd, isub, imul and More
Python's operator module exposes iadd, isub, imul and 7 more in-place functions. Traced examples show what changes between mutable lists and immutable ints.
Internal and External Linkage in C: With Code Examples
The static keyword restricts a C identifier to one translation unit; extern exposes it across files. Learn the rules, see the code, and know what interviewers test.
Speed Maths: Multiplication Shortcuts for Aptitude Tests
Six verified multiplication shortcuts for Indian aptitude tests: powers of 10, near-100 anchoring, and the slide-and-add method for multiplying by 11.
Sentence Correction Basics: Grammar for Placement Tests
Subject-verb agreement, tense consistency, and pronoun reference account for most sentence correction questions in placement tests. Here's how to read the rules.
Set Theory for Placement Aptitude: Formulas and Worked Problems
Master set theory for placement aptitude: notation, union, intersection, complement, power sets, and the inclusion-exclusion formula with 8 worked examples.
Python itertools for Placements: 7 Functions That Matter
Master Python's itertools module with verified examples covering chain, permutations, combinations, product, groupby, count, and cycle for placement coding rounds.
Lattice Multiplication for 2-Digit Numbers: Speed Math Tricks
Step-by-step guide to lattice multiplication for 2-digit numbers, with verified worked examples and aptitude exam tips. Learn the grid method in under 20 minutes.
Leap Year Program in Python: 3 Methods with Code
Three Python methods to check if a year is a leap year: calendar module, nested if statements, and a single boolean condition. Verified code and edge cases included.
Either/Or and Neither/Nor: Grammar Rules for Placement Tests
Four grammar rules cover all either/or and neither/nor questions in placement aptitude tests. Includes the proximity rule, double-negation trap, and parallel structure.
C/C++ Line Splicing: Backslash, Macros, and Traps
Line splicing in C and C++ joins lines ending with a backslash before compilation. Covers comments, macros, and placement test tricky-output traps.
Logarithm Formulas and Rules for Placement Aptitude
Logarithm rules and formulas for placement aptitude: product, quotient, power, and change-of-base, with a reference table and 8 re-derived worked examples.
Python Loops: for, while and Nested Loops
Learn Python for loops, while loops and nested loops with syntax, worked examples and placement test patterns. Covers break, continue and pass.
Job Interview Preparation: 5 Steps That Move Your Score
Five interview preparation habits every engineering student needs before placement season: sleep, digital presence, punctuality, dress, and authentic answers.
Averages in Aptitude Tests: Mean, Weighted Average, Shortcuts
Solve averages and central tendency problems for campus placement tests. Covers arithmetic mean, deviation method, weighted averages, and eight verified worked examples.
Profit and Loss: Formulas, Shortcuts, and Worked Examples
All the profit and loss formulas, shortcuts, and worked examples for placement aptitude tests, covering CP, SP, profit %, successive discounts, and false weights.
Last Two Digits of Large Numbers: Cycle Method and CRT
Find last two digits of any large power in 20 seconds. Covers the cycle method, CRT shortcut, and 4 verified examples. For TCS NQT and AMCAT prep.
Maximum A's with Four Keys: DP Solution for Placement Rounds
Solve the four-key keyboard problem with a verified DP recurrence, answer table for N=1 to 12, and step-by-step walkthrough for placement coding rounds.
Merge Two Sorted Arrays: C, C++, Java and Python
Three approaches to merge two sorted arrays in C, C++, Java, and Python: two-pointer, concatenate-and-sort, and min-heap, with time and space complexity.
Minimum Sum Partition: DP Table, Worked Example, and Code
Partition an integer array into two subsets with the smallest sum difference. DP table formulation, step-by-step worked example, and Python code for placement prep.
Python Modules: Create, Import, and Use Them Right
A practical guide to Python modules: what they are, three import styles, built-in modules for placement tests, and the __name__ guard with working code.
Stress Interview Questions: Types, Samples, and Answers
Eight types of stress interview techniques, sample questions with response frameworks, and composure tactics for placement candidates.
Multiply Numbers Near Powers of 10: Aptitude Shortcut
Master the base multiplication method for numbers near 10, 100, and 1000. Verified worked examples with correct answers for campus placement aptitude tests.
Nested Loops in Python: Types, Syntax, and Examples
Four types of nested loops in Python with working code and placement-round examples. Covers for, while, mixed variants, and break/continue control.
Operator Overloading in Python: Magic Methods with Examples
How Python maps +, -, == and other operators to dunder methods like __add__ and __lt__. Covers the full magic-method table plus two worked placement-style examples.
Parallel Structure in Sentence Correction: 5 Error Types
Five parallel-structure error types in placement verbal tests, with one fix rule each. Worked examples for AMCAT, TCS NQT, and Cocubes sentence correction.
English Prepositions of Time: at, on, in, by, for and since
Master English prepositions of time with clear rules for at, on, in, by, for, since and until. Includes common error corrections and placement test practice questions.
Prepositions in Sentence Correction: Error Types and Fix Rules
Four preposition error types tested in placement aptitude tests, each with worked examples: wrong preposition, missing, redundant, and idiomatic phrases.
Python Program to Print Prime Numbers in a Range
Step-by-step Python programs to print prime numbers in a range. Covers trial division, Python's for/else idiom, and the Sieve of Eratosthenes.
Armstrong Numbers in a Range: C, C++, Java, Python
Programs to print Armstrong numbers between two intervals in C, C++, Java, Python. Traced algorithm, integer-power fix, and time complexity.
Print an Array in Zigzag Order in Python
Step-by-step guide to rearranging a Python list in zigzag order. Covers the O(n) swap algorithm, traced examples, edge cases, and CRT placement patterns.
Printing Variables in Python: Single, Multiple, Formatted
Four Python 3 methods to print variables with text: commas, % operator, .format(), and f-strings. Includes working code, common error fixes, and a comparison table.
Program to Add Two Matrices in C, Java, and Python
How to add two matrices in C, Java, and Python: algorithm, worked example, O(m×n) time and space complexity, and common placement coding test mistakes.
Check if Two Arrays Are Equal: 3 Approaches Explained
Three approaches to check if two arrays are equal: sort-and-compare, frequency count, and direct match, with working code and complexity analysis.
Abundant Number Program: C, Java and Python with √n Check
An abundant number has a proper-divisor sum greater than itself. Code in C, Java, and Python using the O(√n) loop, with worked examples for 12, 18, and 20.
Count Edges in an Undirected Graph: Algorithm and Code
Learn how to count edges in an undirected graph using the Handshaking Lemma. Step-by-step algorithm, Python and C++ code, and complexity analysis included.
Count Even and Odd Elements in an Array
Single-pass O(n) algorithm to count even and odd elements in an array. Working code in C, C++, Python, and Java, with complexity analysis and edge cases.
Count Vowels, Consonants, Digits and Special Characters in a String
Programs in Python, C, and Java to count vowels, consonants, digits, and special characters in a string. Algorithm, code, and traced outputs included.
Find All 0(1+)0 Patterns in a String: C & Python Guide
Count every 0(1+)0 occurrence in a binary string using a linear scan. C and Python code included, plus edge cases and O(n) complexity explained for placement rounds.
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