i
HashStudioz
Technologies
Filter interviews by
I appeared for an interview before Apr 2024, where I was asked the following questions.
Value types store data directly, while reference types store references to the data's memory location.
Value types include primitives like int, float, and char. Example: int x = 5;
Reference types include objects, arrays, and strings. Example: string name = 'Alice';
Value types are stored on the stack, while reference types are stored on the heap.
Modifying a value type creates a new copy, while modifying a reference type ...
Generics allow types to be parameters when defining classes, interfaces, and methods, promoting code reusability and type safety.
Generics enable the creation of classes and methods that operate on types specified by the user.
Example: A generic class 'Box<T>' can hold any type of object, like 'Box<Integer>' or 'Box<String>'.
They help in reducing code duplication by allowing the same code to work with d...
Top trending discussions
posted on 31 May 2022
I appeared for an interview in Sep 2021.
Round duration - 150 Minutes
Round difficulty - Medium
3 coding question + 50 dsa
Given an array/list 'ARR' consisting of 'N' integers, your task is to find the majority element in the array. If there is no majority element present, return -1.
Find the majority element in an array, return -1 if no majority element exists.
Iterate through the array and keep track of the count of each element using a hashmap.
Check if any element's count is greater than floor(N/2) to determine the majority element.
Return the majority element or -1 if no majority element exists.
You are provided with an arbitrary binary tree consisting of 'N' nodes where each node is associated with a certain value. The task is to determine the height of the tree.
Calculate the height of a binary tree given its level order traversal.
Traverse the binary tree level by level and keep track of the height as you go down the tree.
Use a queue data structure to perform level order traversal efficiently.
The height of a binary tree is the maximum number of edges from the root to any leaf node.
Handle NULL nodes represented by -1 in the input.
Return the height of the binary tree as a single...
You are provided with a 2-dimensional matrix having N
rows and M
columns, containing only 1s (land) and 0s (water). Your goal is to determine the number of islands in t...
Count the number of islands in a 2D matrix of 1s and 0s.
Use Depth First Search (DFS) or Breadth First Search (BFS) to traverse the matrix and count the number of connected components.
Maintain a visited array to keep track of visited cells to avoid counting the same island multiple times.
Iterate through each cell in the matrix and if it is a land (1) and not visited, perform DFS/BFS to explore the connected land cells.
I...
Round duration - 60 Minutes
Round difficulty - Hard
2 coding questions
You are given 'N' pairs of integers where the first number is always smaller than the second number, i.e., in pair (a, b) -> a < b always. A pair chain is...
Find the length of the longest pair chain that can be formed using the given pairs.
Sort the pairs based on the second element in ascending order.
Iterate through the sorted pairs and keep track of the maximum chain length.
Update the chain length if the current pair can be added to the chain.
Return the maximum chain length at the end.
You are given an array prices
, representing stock prices over N consecutive days. Your goal is to compute the maximum profit achievable by performing multiple transactions (i...
Find maximum profit by buying and selling stocks multiple times.
Iterate through the array and find all increasing sequences of stock prices.
Calculate profit by buying at the start and selling at the end of each increasing sequence.
Sum up all profits to get the maximum profit achievable.
Round duration - 45 minutes
Round difficulty - Medium
Data structures,java script,web dev related questions,dbms questions
Designing a web crawler involves defining the scope, selecting a crawling strategy, implementing the crawler, handling data storage, and ensuring politeness.
Define the scope of the web crawler by determining the websites to crawl and the depth of the crawl.
Select a crawling strategy such as breadth-first or depth-first search based on the requirements.
Implement the web crawler using a programming language like Python o...
Tip 1 : Practice Atleast 250 Questions
Tip 2 : Do atleast 2 projects
Tip 3 : practice basics of dsa
Tip 1 : show your projects
Tip 2 : highlight your skills
posted on 5 Oct 2022
I applied via Campus Placement and was interviewed in Apr 2022. There were 5 interview rounds.
Basic aptitude questions. Just keep a track of time
2nd round is coding round. You can expect Leetcode medium questions. The topics asked are Linked list, Trees and arrays.
3rd round is again the Coding Test. Level of questions is Leetcode Medium to Leetcode Hard. Topics covered are Trees, Doubly Linked List, Dp etc.
posted on 5 Apr 2023
I applied via Campus Placement and was interviewed in Oct 2022. There were 3 interview rounds.
They would ask searching sorting , binary search in first round
Delete a node from a binary tree.
Find the node to be deleted
If the node has no children, simply delete it
If the node has one child, replace it with its child
If the node has two children, find the minimum value in its right subtree, replace the node with that value, and delete the minimum value node
posted on 11 Jun 2023
I applied via Referral and was interviewed before Jun 2022. There were 4 interview rounds.
Duration 1 hour
Data structure and algorithms
Duration 1.5 hour
Data structure and algorithms
Use a binary tree traversal algorithm to find the next sibling on the right side of a given value.
Implement an in-order traversal algorithm to traverse the binary tree
Keep track of the parent node and the direction of traversal to find the next sibling on the right side
If the given value is the right child of its parent, move up the tree until finding a node that is the left child of its parent
posted on 12 Aug 2023
Questions related to input and output.
Subjective Round:4 questions related to coding.
posted on 5 Aug 2024
It is very impressive work on Josh technology assessment because we learn many new skills.
API stands for Application Programming Interface. It is a set of rules and protocols that allows different software applications to communicate with each other.
APIs define the methods and data formats that applications can use to request and exchange information.
APIs can be used to access services provided by other software applications, such as retrieving data from a database or sending notifications.
Examples of APIs ...
Software development life cycle (SDLC) is a process used by software developers to design, develop, and test software.
1. Planning: Define the project scope, requirements, and objectives.
2. Analysis: Gather and analyze user requirements.
3. Design: Create a detailed design of the software.
4. Implementation: Develop the software based on the design.
5. Testing: Test the software for bugs and issues.
6. Deployment: Release t...
posted on 25 Sep 2024
Not selected but the questions were mostly based on DSA time complexity and pseudo code
posted on 5 Dec 2024
I applied via Campus Placement
posted on 8 Jan 2025
They only focuses on DSA
based on 1 interview experience
Difficulty level
Duration
Software Engineer
83
salaries
| ₹3 L/yr - ₹8.8 L/yr |
Software Developer
43
salaries
| ₹1 L/yr - ₹10 L/yr |
Senior Software Engineer
20
salaries
| ₹6.8 L/yr - ₹15 L/yr |
Java Developer
11
salaries
| ₹4 L/yr - ₹8.6 L/yr |
QA Engineer
11
salaries
| ₹3 L/yr - ₹8 L/yr |
Maxgen Technologies
JoulestoWatts Business Solutions
Value Point Systems
F1 Info Solutions and Services