JobsJob TrackerJob alerts

TCS ยท 1,487 questions

All 1,487Coding 601System Design 10Low-Level Design 89Behavioral 288Product Sense 11
  • What is your objective?Behavioral
  • Database connection and nested SQL query design
  • Explain core OOP concepts and virtual functions
  • Explain ACID properties in database management systems
  • Technology and Societal ReformBehavioral
  • Handling Crisis and Government ResponseBehavioral
  • Explain abstract class, polymorphism, and inheritance.
  • Explain DDL statements, WHERE vs HAVING, and JOINs.
  • Difference between StringBuffer & StringBuilder
  • Multithreading concepts
  • SQL Union Clause
  • IPv4 vs IPv6
  • Difference between MongoDB, MySQL, and SQLLow-Level Design
  • Difference between JSON and BSON
  • NLP concepts: Lemmatization, stopwords, and tokenizationLow-Level Design
  • Restaurant web application architecture and schemaLow-Level Design
  • Database normalization and SQL queriesLow-Level Design
  • Deep Learning project input
  • Round Robin Scheduling
  • Explain certifications on block chain, DL, data scienceBehavioral
  • Explain IoT and Web Development projects with database queriesBehavioral
  • Candidate introduction and project overviewBehavioral
  • Python concepts including exception handling, dictionaries, and pickling
  • Explain the 51% problem in blockchain
  • Explain K-Means Clustering algorithm
  • DBMS Table CreationLow-Level Design
  • Door movement time puzzleProduct Sense
  • Sum digits 8 using plus operators to 1000
  • Linux kernel, shell, and file manipulation commandsLow-Level Design
  • Server outage mitigation strategySystem Design
  • Balance chemical equations
  • Non-RDBMS databases
  • Maze solver bot projectBehavioral
  • Describe your day todayBehavioral
  • What if you are not selected today?Behavioral
  • CPU Ports and VGA Cables
  • Classes and Inheritance in PythonLow-Level Design
  • General Knowledge and Background
  • IoT, AI, and ML concepts
  • Summing numbers in Excel
  • What are you lacking?Behavioral
  • Why do you want to join TCS and company awarenessBehavioral
  • DBMS vs RDBMS and SQL Clauses
  • OSI Layers and Network Devices
  • Project and Team Selection LogicBehavioral
  • TCS HR and Role PreferenceBehavioral
  • TCS History and Career GoalsBehavioral
  • Divide a square into 7 equal parts
  • Handling Placement in Customer Support RoleBehavioral
  • GET vs POST HTTP Data Submission Methods
  • Inner Join vs Outer Join Concepts and SQL Query
  • Conceptual questions on C pointers and memory layout
  • Five main features of OOP
  • Willingness to relocate and work under pressureBehavioral
  • NQT Aptitude Section
  • Impressing a coach for captaincyBehavioral
  • Motivations for joining TCS and curveball questionsBehavioral
  • Personal background, weaknesses, and career aspirationsBehavioral
  • Managing industry challengesBehavioral
  • General HR and situational questionsBehavioral
  • Technical Head role and weekend work scenarioBehavioral
  • Company fit, relocation, and document verificationBehavioral
  • Lists vs Tuples
  • ML Basics
  • Exception Handling
  • HashMap vs HashSet
  • Tree vs Graph
  • Payment Gateway IntegrationSystem Design
  • Angular Components
  • GitHub Usage
  • REST API SecuritySystem Design
  • Java, OOPs, DBMS, and Web Technologies Concepts
  • Clone a table in SQLLow-Level Design
  • Difference between Left Join and Full JoinLow-Level Design
  • Why TCS and comparison with GoogleBehavioral
  • Explanation of schooling board changeBehavioral
  • Explain Data Structures and OOP conceptsLow-Level Design
  • Difference between Artificial Intelligence and Machine Learning
  • Difference between declaration and definition
  • Preprocessors in C
  • Handling a friend leaking company secretsBehavioral
  • Bug discovery during deliveryBehavioral
  • Innovative idea using ML or Neural NetworksBehavioral
  • Leadership qualities and visionBehavioral
  • Work-life priority conflictBehavioral
  • SQL Top rows and pattern matching
  • C++ Volatile and Access Specifiers
  • Assessment Coding ProblemsCoding
  • Remove Duplicates from ArrayListCoding
  • Arithmetic AlternativeCoding
  • Greatest of 3 NumbersCoding
  • Explain Java Hello World
  • Java Multithreading and Deadlocks
  • Logic Puzzles
  • HR and Relocation QuestionsBehavioral
  • Android Development with Kotlin
  • Trending Technologies
  • Guiding FreshersBehavioral
  • Python Libraries and Machine Learning
  • Waterfall Model in Software Engineering
โ† TCS questions
  1. Interview questions
  2. TCS
  3. HashMap vs HashSet

HashMap vs HashSet

Filed under TCS

The question

What is the difference between HashMap and HashSet? Which is faster?

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

Related TCS questions

  • Palindrome check
  • Check if a number is Prime or not
  • Star pattern printing
  • Check Armstrong Number
  • Sort array by parity conditions
โ† Exception HandlingTree vs Graph โ†’

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