i
HashedIn by
Deloitte
Filter interviews by
Your task is to determine if two given strings are anagrams of each other. Two strings are considered anagrams if you can rearrange the letters of one string to form the ...
Check if two strings are anagrams of each other by comparing their sorted characters.
Sort the characters of both strings and compare them.
Use a dictionary to count the frequency of characters in each string and compare the dictionaries.
Ensure both strings have the same length before proceeding with the comparison.
Example: For input 'str1 = "spar", str2 = "rasp"', the output should be True.
Given a binary tree, convert this binary tree into its mirror tree. A binary tree is a tree in which each parent node has at most two children. The mirr...
Convert a binary tree into its mirror tree by interchanging left and right children of non-leaf nodes.
Traverse the binary tree in a recursive manner.
Swap the left and right children of each non-leaf node.
Continue this process until all nodes are visited.
Example: Input binary tree: 1 2 3 4 -1 5 6 -1 7 -1 -1 -1 -1 -1 -1, Output mirror tree: 1 3 2 6 5 4 -1 -1 -1 -1 -1 7 -1 -1 -1
Given an array of integers denoting the heights of the mountains, find the length of the longest subarray that forms a mountain shape.
A mountain subarray is de...
Find the length of the longest mountain subarray in an array of integers.
Identify peaks in the array where the elements transition from ascending to descending order.
Calculate the length of the mountain subarray starting from each peak.
Track the length of the longest mountain subarray found so far.
Consider edge cases like when there are no mountains in the array.
In Ninja town, represented as an N * M
grid, people travel by jumping over buildings in the grid's cells. Santa is starting at cell (0, 0) and must deliver gifts to cell (N-1, M...
Santa needs to find the quickest path to deliver gifts in Ninja town by jumping over buildings with least travel time.
Santa starts at (0, 0) and needs to deliver gifts to (N-1, M-1) on Christmas Eve.
Santa can jump to (x+1, y+1), (x+1, y), or (x, y+1) from any cell (x, y) within grid boundaries.
Travel time between two buildings equals the absolute difference in their heights.
Find the quickest path with least travel...
What people are saying about HashedIn by Deloitte
Given an integer number num
, your task is to convert 'num' into its corresponding word representation.
The first line of input contains an integer ‘T’ denoting the number of...
Convert a given integer number into its corresponding word representation.
Implement a function that converts the given number into words by breaking it down into its individual digits and mapping them to their word representation.
Handle special cases like numbers less than 20, multiples of 10, and numbers in the hundreds and thousands place.
Ensure that there is a space between every two consecutive words and all c...
Designing a social media platform with friend requests and posts.
Implement user profiles with friend request functionality.
Allow users to create and share posts on their profiles.
Include news feed to display posts from friends.
Implement notifications for friend requests and post interactions.
Include privacy settings for posts and friend requests.
Consider implementing features like comments, likes, and shares for p...
Determine if a given singly linked list of integers forms a cycle or not.
A cycle in a linked list occurs when a node's next
points back to a previous node in the l...
Detect if a singly linked list forms a cycle by checking if a node's next points back to a previous node.
Use Floyd's Tortoise and Hare algorithm to detect a cycle in the linked list.
Maintain two pointers, slow and fast, where slow moves one step at a time and fast moves two steps at a time.
If there is a cycle, the fast pointer will eventually meet the slow pointer.
If the fast pointer reaches the end of the list (n...
Given 'K' different arrays that are individually sorted in ascending order, merge all these arrays into a single array that is also sorted in ascending order.
Merge K sorted arrays into a single sorted array.
Create a min-heap to store the first element of each array along with the array index.
Pop the smallest element from the heap and add it to the result array.
If the array from which the element was popped has more elements, add the next element to the heap.
Repeat until all elements are merged into a single sorted array.
Given an array or list ARR
consisting of N
integers, your task is to identify all distinct triplets within the array that sum up to a specified number K
.
A tr...
The task is to find all distinct triplets in an array that sum up to a specified number.
Iterate through all possible triplets using three nested loops.
Check if the sum of the triplet equals the target sum.
Print the triplet if found, else print -1.
You are provided with an array/list 'ARR' consisting of 'N' integers and an integer 'TARGET'. The task is to determine if there exist four distinct numbers in 'ARR' such that the...
The task is to determine if there exist four distinct numbers in an array that sum up to a given target value.
Iterate through all possible combinations of four distinct numbers in the array.
Use a nested loop to check all combinations efficiently.
Keep track of the sum of each combination and compare it with the target value.
Return 'Yes' if a valid combination is found, otherwise return 'No'.
I appeared for an interview in Jan 2025.
Leetcode medium level questions
There were 3 Dsa based questions out of which two were medium and one was easy.
Design a system for parking management
Use sensors to detect available parking spots
Implement a payment system for parking fees
Include a mobile app for users to find and reserve parking spots
Utilize cameras for security monitoring
Integrate with navigation apps for real-time parking availability updates
Developed a web application for tracking inventory and sales data
Used React.js for front-end development
Implemented RESTful APIs using Node.js and Express
Utilized MongoDB for database management
I overcome failures by learning from them, staying positive, and seeking feedback.
Learn from mistakes and identify areas for improvement
Stay positive and maintain a growth mindset
Seek feedback from colleagues or mentors to gain different perspectives
Set new goals and move forward with a renewed focus
I appeared for an interview before Dec 2022.
Based on logical thinking and reasoning questions
Find the maximum number from a given array of strings.
Convert the array of strings to an array of integers.
Use a loop to iterate through the array and keep track of the maximum number found.
Return the maximum number at the end.
I have a strong background in quality engineering, proven track record of improving processes, and a passion for continuous improvement.
I have a Bachelor's degree in Engineering with a focus on quality management.
I have successfully implemented quality improvement initiatives in my previous roles, resulting in cost savings and increased efficiency.
I am skilled in using quality tools such as Six Sigma, Lean, and statist...
I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.
They had three coding questions for 1:30 hr and Two technical rounds and at last they had fitment round
Reverse the array of strings
Create a new array and iterate through the original array in reverse order, adding each element to the new array
Alternatively, you can use the reverse() method on the array itself
Use Floyd's Tortoise and Hare algorithm to detect a loop in a linked list.
Initialize two pointers, slow and fast, at the head of the linked list.
Move slow pointer by one step and fast pointer by two steps.
If they meet at any point, there is a loop in the linked list.
Balancing people and processes is essential for effective team management.
Effective team management requires a balance between focusing on people and processes.
Investing in developing strong relationships with team members can lead to better collaboration and productivity.
Establishing clear processes and guidelines can help streamline workflows and ensure consistency in performance.
Regularly evaluating and adjusting bo...
Senior Management case study scenario, conflict management
I applied via Campus Placement and was interviewed in Nov 2024. There were 2 interview rounds.
3 coding question 1 easy 2 med, 1 hard have to do in 90 mins
I appeared for an interview in Mar 2025, where I was asked the following questions.
I appeared for an interview in Jul 2024.
1.5 hours
1) maximum subarray sum - LeetCode;
2) keto eating banana - LeetCode;
3) the third one was difficult - dynamic programming question.
The maximum subarray sum problem involves finding the contiguous subarray within a one-dimensional array of numbers which has the largest sum.
Use Kadane's algorithm to find the maximum subarray sum efficiently.
Consider all possible subarrays and calculate their sums to find the maximum.
Dynamic programming can be used to solve this problem efficiently.
Example: For array [-2, 1, -3, 4, -1, 2, 1, -5, 4], the maximum subar...
I applied via Campus Placement and was interviewed in Oct 2024. There were 2 interview rounds.
Arrays and dp questions
The maximum depth of a binary tree is the longest path from the root node to a leaf node.
The maximum depth of a binary tree can be calculated recursively by finding the maximum depth of the left and right subtrees and adding 1.
The maximum depth of an empty tree is 0.
Example: For a binary tree with root node A, left child B, and right child C, the maximum depth would be 2.
An anagram is a word or phrase formed by rearranging the letters of another, using all original letters exactly once.
Anagrams must use all the original letters exactly once.
Example: 'listen' and 'silent' are anagrams.
Anagrams can be phrases too: 'A gentleman' and 'Elegant man'.
They are often used in word games and puzzles.
Some of the top questions asked at the HashedIn by Deloitte interview -
The duration of HashedIn by Deloitte interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 97 interview experiences
Difficulty level
Duration
based on 474 reviews
Rating in categories
Software Engineer
483
salaries
| ₹8 L/yr - ₹14.4 L/yr |
Software Engineer2
460
salaries
| ₹12 L/yr - ₹21 L/yr |
Software Developer
221
salaries
| ₹8.1 L/yr - ₹17.4 L/yr |
Senior Software Engineer
219
salaries
| ₹13 L/yr - ₹21.4 L/yr |
Software Engineer II
209
salaries
| ₹11.5 L/yr - ₹19 L/yr |
ITC Infotech
CMS IT Services
KocharTech
Xoriant