CampusJobsHub
  • Companies
  • Resume AI
  • Blog
CampusJobsHub

India's best platform for campus jobs, internships, placement preparation, resume AI, and career roadmaps.

2M+ students
5,000+ companies
Verified listings

Platform

  • Jobs
  • Internships
  • Companies
  • Resume Builder
  • ATS Checker

Resources

  • Blog
  • Interview Questions
  • Career Roadmaps
  • Cover Letter Generator

Company

  • About Us
  • Contact
  • Advertise With Us
  • Editorial Policy

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Disclaimer

Weekly job digest

Get curated campus jobs and internship alerts in your inbox.

No spam. Unsubscribe anytime.

© 2026 CampusJobsHub. All rights reserved.

Made for Indian students & freshers

  1. Home
  2. Prepare
  3. Interview Questions

Interview Questions

Practice common HR, technical, and aptitude questions asked in Indian campus placements.

Prepare for interviews at TCS, Infosys, Wipro, Amazon, and startups with curated questions and model answers. Filter by company and difficulty on our full question bank.

HR
easy

Tell me about yourself.

Structure a 60–90 second pitch: education, relevant projects or internships, key skills, and why you fit this role. Avoid personal biography or repeating your entire resume.

HR
easy

Why do you want to join our company?

Connect your skills to the company products, culture, and campus programs. Mention specific initiatives you researched — avoid generic praise or salary-only motivation.

HR
easy

What are your strengths and weaknesses?

Give real strengths with brief examples. For weaknesses, pick something genuine with clear improvement steps. Never claim perfection.

HR
easy

Where do you see yourself in five years?

Show ambition aligned with technical growth — deepening expertise, mentoring juniors, contributing to architecture — without implying you will leave immediately.

HR
easy

Are you willing to relocate?

Answer honestly. If flexible, express openness to major Indian tech hubs. If you have a preference, state it respectfully while confirming willingness if required.

DSA
medium

What is the difference between stack and queue?

A stack follows LIFO (Last In, First Out) — like undo operations. A queue follows FIFO (First In, First Out) — like a printer job queue.

DSA
easy

Explain time complexity of binary search.

Binary search halves the search space each step, giving O(log n) time. It requires a sorted array and uses O(1) extra space for iterative implementation.

DSA
medium

When would you use a hash map?

Use hash maps for O(1) average lookups — frequency counting, two-sum patterns, caching, and deduplication. Trade-off: extra space for speed.

DSA
medium

Explain BFS vs DFS.

BFS explores level by level using a queue — shortest path in unweighted graphs. DFS goes deep first using recursion/stack — cycle detection, topological sort.

Java
medium

What is the difference between abstract class and interface?

Abstract classes can have state and partial implementation; Java interfaces (modern) support default methods. Use interfaces for capability contracts, abstract classes for shared base behavior.

Java
medium

Explain equals() and hashCode() contract.

If two objects are equal, they must have the same hash code. Override both together when using objects as HashMap keys or in HashSet.

Python
easy

List vs tuple in Python?

Lists are mutable, tuples are immutable. Tuples are faster and hashable when used as dict keys. Lists suit dynamic collections.

SQL
easy

What is the difference between INNER JOIN and LEFT JOIN?

INNER JOIN returns only matching rows from both tables. LEFT JOIN returns all rows from the left table plus matches from the right; unmatched right columns are NULL.

SQL
medium

What is database normalization?

Normalization reduces redundancy by organizing data into tables with clear dependencies — typically 1NF through 3NF for campus-level questions.

DBMS
medium

Explain the ACID properties of a database.

Atomicity: all or nothing. Consistency: valid states only. Isolation: concurrent transactions do not interfere. Durability: committed data survives failures.

React
medium

What is virtual DOM?

React keeps a lightweight copy of the UI tree. On state change, it diffs virtual DOM vs previous, then updates only changed real DOM nodes — improving performance.

System Design
hard

How would you design a URL shortener?

Use a hash or base62 ID mapped to URLs in a database, cache hot links in Redis, handle redirects via HTTP 301/302, and plan for high read-to-write ratio.

Behavioral
medium

Tell me about a time you handled a tight deadline.

Use STAR format: Situation, Task, Action, Result. Prioritize tasks, communicate early, deliver MVP, and mention measurable outcome.

HR
easy

Why should we hire you?

Summarize unique skills, projects, and internship outcomes that match the job description. Support with evidence, not adjectives.

DSA
hard

What is dynamic programming?

DP solves problems by breaking them into overlapping subproblems, storing results to avoid recomputation. Approaches: top-down memoization or bottom-up tabulation.