Filter interviews by
Reversing a linked list involves changing the direction of its pointers to reverse the order of nodes.
Iterative approach: Use three pointers (prev, current, next) to reverse links.
Example: For list 1 -> 2 -> 3, after reversal it becomes 3 -> 2 -> 1.
Recursive approach: Reverse the rest of the list and adjust pointers.
Example: Recursively reverse 1 -> 2 -> 3, then link 2 to 1 and 3 to 2.
HashMap in Java is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.
HashMap uses hashing to store and retrieve key-value pairs
It uses an array of linked lists to handle collisions
The key's hash code is used to determine the index in the array where the key-value pair is stored
HashMap allows one null key and multiple null values
Example: HashMap<String, Integer> map ...
The Two Sum problem involves finding two numbers in an array that add up to a specific target sum.
Given an array of integers and a target sum, identify two numbers that sum to the target.
Example: For array [2, 7, 11, 15] and target 9, the answer is indices 0 and 1 (2 + 7 = 9).
Use a hash map to store numbers and their indices for efficient lookup.
Time complexity can be O(n) with a hash map, compared to O(n^2) with ...
Multithreading allows multiple threads to execute concurrently within a single process.
Multithreading allows for parallel execution of tasks within a single process.
Each thread has its own stack and runs independently of other threads.
Threads share the same memory space, allowing for communication and data sharing.
Multithreading can improve performance by utilizing multiple CPU cores efficiently.
Examples of multit...
A HashMap is a data structure that stores key-value pairs and allows for fast retrieval of values based on keys.
Use an array of linked lists to handle collisions
Implement methods for adding, removing, and retrieving key-value pairs
Use a hash function to determine the index of the array where each key-value pair should be stored
HTTP is a protocol used for transferring data over the internet.
HTTP stands for Hypertext Transfer Protocol.
It is the foundation of data communication on the World Wide Web.
HTTP works by establishing a connection between a client and a server, where the client sends a request and the server responds with the requested data.
HTTP uses methods like GET, POST, PUT, DELETE to specify the action to be performed on a res...
Python is used for data science due to its simplicity, readability, extensive libraries, and community support.
Python is easy to learn and read, making it accessible for beginners and experts alike
Python has a wide range of libraries like NumPy, Pandas, and Scikit-learn for data manipulation and analysis
Python has a strong community support with active forums and resources for data science enthusiasts
Python's vers...
HashMap is a data structure commonly used in backend development for efficient key-value storage and retrieval.
HashMap is a collection that stores key-value pairs and allows for fast retrieval of values based on keys.
It is commonly used in backend development for caching, session management, and data storage.
Example: HashMap<String, Integer> employeeSalaries = new HashMap<>(); employeeSalaries.put("Ali...
Utilize OOP principles to design a clean, maintainable solution for the given problem.
Encapsulation: Use classes to bundle data and methods, e.g., a 'Patient' class with attributes like 'name' and 'age'.
Inheritance: Create a base class 'Employee' and derive 'Doctor' and 'Nurse' classes to share common properties.
Polymorphism: Implement a method 'calculateSalary()' in both 'Doctor' and 'Nurse' classes to handle dif...
Choosing the right technology stack is crucial for project success, impacting performance, scalability, and maintainability.
Technology selection should align with project requirements and team expertise.
For web applications, using React for the frontend and Node.js for the backend can enhance performance and developer productivity.
In mobile app development, Flutter allows for cross-platform development, reducing t...
I appeared for an interview in Aug 2024.
4 coding question easy level questions based on arrays and strings
Code pairing round need to use oops to solve the problem
The Two Sum problem involves finding two numbers in an array that add up to a specific target sum.
Given an array of integers and a target sum, identify two numbers that sum to the target.
Example: For array [2, 7, 11, 15] and target 9, the answer is indices 0 and 1 (2 + 7 = 9).
Use a hash map to store numbers and their indices for efficient lookup.
Time complexity can be O(n) with a hash map, compared to O(n^2) with a bru...
HashMap in Java is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.
HashMap uses hashing to store and retrieve key-value pairs
It uses an array of linked lists to handle collisions
The key's hash code is used to determine the index in the array where the key-value pair is stored
HashMap allows one null key and multiple null values
Example: HashMap<String, Integer> map = new...
I appeared for an interview in Jan 2025.
Coding plus aptitude
Code pairing round with one question and an hour to solve
2 leetcode medium level type problems were given. This was a cut-off test were majority will be cut-off.
Long coding round - Paired with another thoughtworker
I appeared for an interview in Feb 2025, where I was asked the following questions.
I applied via Recruitment Consulltant and was interviewed in May 2024. There were 2 interview rounds.
Coding test contains 4 coding question easy to medium, Topic Array, String but DSA questions are in image formate first you have to decode the image then code.
To add a 20% discount code and implement cashback in an application.
Create a discount code field in the application where users can enter the code to avail 20% off.
Calculate the discounted price by applying the 20% discount on the original price.
Implement a cashback feature where users receive a certain percentage of the purchase amount back as cashback.
Ensure that the cashback amount is credited to the user's account ...
Online hackerrank test
Domain modeling, oops, clean code
I applied via Campus Placement and was interviewed before Apr 2023. There was 1 interview round.
Python is used for data science due to its simplicity, readability, extensive libraries, and community support.
Python is easy to learn and read, making it accessible for beginners and experts alike
Python has a wide range of libraries like NumPy, Pandas, and Scikit-learn for data manipulation and analysis
Python has a strong community support with active forums and resources for data science enthusiasts
Python's versatili...
HashMap is a data structure commonly used in backend development for efficient key-value storage and retrieval.
HashMap is a collection that stores key-value pairs and allows for fast retrieval of values based on keys.
It is commonly used in backend development for caching, session management, and data storage.
Example: HashMap<String, Integer> employeeSalaries = new HashMap<>(); employeeSalaries.put("Alice", ...
Top trending discussions
Some of the top questions asked at the ThoughtWorks Application Developer interview -
The duration of ThoughtWorks Application Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 23 interview experiences
Difficulty level
Duration
based on 104 reviews
Rating in categories
Senior Consultant
892
salaries
| ₹11.1 L/yr - ₹41 L/yr |
Application Developer
665
salaries
| ₹6.8 L/yr - ₹21 L/yr |
Lead Consultant
300
salaries
| ₹23 L/yr - ₹70 L/yr |
Consultant
265
salaries
| ₹8 L/yr - ₹20.9 L/yr |
Software Developer
137
salaries
| ₹6.2 L/yr - ₹26.3 L/yr |
Synechron
Movate
Sopra Steria
NCR Corporation