i
SquadStack
Filter interviews by
You are given a string of length N
. Your task is to reverse the string word by word. The input may contain multiple spaces between words and may have leading or...
Reverse words in a string word by word, removing leading/trailing spaces and extra spaces between words.
Split the input string by spaces to get individual words
Reverse the order of the words
Join the reversed words with a single space in between
Remove any leading or trailing spaces
Inner Join is a type of SQL join that returns only the rows with matching values in both tables.
Inner Join combines rows from two tables based on a related column between them
It returns only the rows where there is a match between the columns in both tables
Non-matching rows are not included in the result set
Designing a parking lot system involves layout planning, ticketing system, payment methods, security measures, and efficient traffic flow.
Layout planning to maximize space and accommodate different types of vehicles
Implementing a ticketing system for entry and exit tracking
Offering various payment methods such as cash, credit card, and mobile payments
Installing security measures like CCTV cameras and automated gat...
Given two strings STR1
and STR2
, determine the length of their longest common subsequence.
A subsequence is a sequence that can be derived from another sequenc...
The task is to find the length of the longest common subsequence between two given strings.
Implement a function to find the longest common subsequence between two strings.
Use dynamic programming to solve this problem efficiently.
Iterate through the strings and build a matrix to store the lengths of common subsequences.
Return the length of the longest common subsequence found.
Given an array of integers, determine the maximum possible sum of any contiguous subarray within the array.
array = [34, -50, 42, 14, -5, 86]
Find the maximum sum of any contiguous subarray within an array of integers.
Iterate through the array and keep track of the maximum sum of subarrays encountered so far.
At each index, decide whether to include the current element in the subarray or start a new subarray.
Update the maximum sum if a new maximum is found.
Time complexity should be O(N) to iterate through the array once.
Example: For array [34, -50, 42, 1...
Given an array ARR
of size 'N', where each integer is in the range from 0 to N - 1, identify all elements that appear more than once.
Return the duplicate elements in any order...
Identify duplicate elements in an array of integers within a specified range.
Iterate through the array and keep track of the frequency of each element using a hashmap.
Return elements with frequency greater than 1 as duplicates.
Handle edge cases such as empty array or no duplicates found.
Example: For input [0, 3, 1, 2, 3], output should be [3].
As the Government ramps up vaccination drives to combat the second wave of Covid-19, you are tasked with helping plan an effective vaccination schedule. Your goal is ...
The task is to plan an effective vaccination schedule to maximize the number of vaccines administered on a particular day, while adhering to certain rules.
Given 'n' days for vaccination drive, 'maxVaccines' available, and 'dayNumber' to maximize vaccines on.
Distribute vaccines each day with a positive number, ensuring the difference between consecutive days is not more than 1.
Output the maximum number of vaccines ...
ACID properties are a set of properties that guarantee reliability and consistency in database transactions.
Atomicity: Ensures that all operations in a transaction are completed successfully or none at all.
Consistency: Ensures that the database remains in a consistent state before and after the transaction.
Isolation: Ensures that the execution of multiple transactions concurrently does not interfere with each othe...
Given a binary tree, your task is to print the left view of the tree. The left view of a binary tree contains the nodes visible when the tree is viewed from the left side.
The task is to print the left view of a binary tree, which contains the nodes visible when viewed from the left side.
Traverse the binary tree level by level and keep track of the leftmost node at each level.
Use a queue for level order traversal and maintain a count of nodes at each level.
Print the leftmost node at each level to get the left view of the binary tree.
You are provided with an integer 'N'. Your task is to calculate and print the factorial of 'N'. The factorial of a number 'N', denoted as N!, is the product of all p...
Calculate and print the factorial of a given integer 'N'.
Iterate from 1 to N and multiply each number to calculate factorial
Handle edge cases like N=0 or N=1 separately
Use recursion or iterative approach to calculate factorial
I appeared for an interview in Jul 2021.
Round duration - 15 minutes
Round difficulty - Easy
They called around afternoon to know more about me. It happened over a phone call. Don't lie about anything as they do some screening. Asked reason for change.
Round duration - 150 minutes
Round difficulty - Medium
Asked 5 coding questions on DSA. Total marks were 250. Each question has a different weightage. They give you around a week to complete the round.
Given a binary tree, your task is to print the left view of the tree. The left view of a binary tree contains the nodes visible when the tree is viewed from the left side.
The task is to print the left view of a binary tree, which contains the nodes visible when viewed from the left side.
Traverse the binary tree level by level and keep track of the leftmost node at each level.
Use a queue for level order traversal and maintain a count of nodes at each level.
Print the leftmost node at each level to get the left view of the binary tree.
Given an array ARR
of size 'N', where each integer is in the range from 0 to N - 1, identify all elements that appear more than once.
Return the duplicate elements in any orde...
Identify duplicate elements in an array of integers within a specified range.
Iterate through the array and keep track of the frequency of each element using a hashmap.
Return elements with frequency greater than 1 as duplicates.
Handle edge cases such as empty array or no duplicates found.
Example: For input [0, 3, 1, 2, 3], output should be [3].
Given an array of integers, determine the maximum possible sum of any contiguous subarray within the array.
array = [34, -50, 42, 14, -5, 86]
Find the maximum sum of any contiguous subarray within an array of integers.
Iterate through the array and keep track of the maximum sum of subarrays encountered so far.
At each index, decide whether to include the current element in the subarray or start a new subarray.
Update the maximum sum if a new maximum is found.
Time complexity should be O(N) to iterate through the array once.
Example: For array [34, -50, 42, 14, -5...
Given two strings STR1
and STR2
, determine the length of their longest common subsequence.
A subsequence is a sequence that can be derived from another sequen...
The task is to find the length of the longest common subsequence between two given strings.
Implement a function to find the longest common subsequence between two strings.
Use dynamic programming to solve this problem efficiently.
Iterate through the strings and build a matrix to store the lengths of common subsequences.
Return the length of the longest common subsequence found.
You are given a string of length N
. Your task is to reverse the string word by word. The input may contain multiple spaces between words and may have leading o...
Reverse words in a string word by word, removing leading/trailing spaces and extra spaces between words.
Split the input string by spaces to get individual words
Reverse the order of the words
Join the reversed words with a single space in between
Remove any leading or trailing spaces
Round duration - 20 minutes
Round difficulty - Easy
Asks questions about your experience. Gives introduction to the role and what you'll be doing. Ask any questions about the company, culture or job.
Round duration - 120 minutes
Round difficulty - Medium
Designing a parking lot system involves layout planning, ticketing system, payment methods, security measures, and efficient traffic flow.
Layout planning to maximize space and accommodate different types of vehicles
Implementing a ticketing system for entry and exit tracking
Offering various payment methods such as cash, credit card, and mobile payments
Installing security measures like CCTV cameras and automated gates
Ens...
Round duration - 60 minutes
Round difficulty - Easy
Asked technical questions around DBMS and Java.
ACID properties are a set of properties that guarantee reliability and consistency in database transactions.
Atomicity: Ensures that all operations in a transaction are completed successfully or none at all.
Consistency: Ensures that the database remains in a consistent state before and after the transaction.
Isolation: Ensures that the execution of multiple transactions concurrently does not interfere with each other.
Dur...
Inner Join is a type of SQL join that returns only the rows with matching values in both tables.
Inner Join combines rows from two tables based on a related column between them
It returns only the rows where there is a match between the columns in both tables
Non-matching rows are not included in the result set
Round duration - 60 minutes
Round difficulty - Easy
2 coding questions were asked in this round. It was easier than the previous online coding round.
You are provided with a string expression
consisting of characters '+', '-', '*', '/', '(', ')' and digits '0' to '9', representing an arithmetic express...
Evaluate arithmetic expressions in infix notation with given operators and precedence rules.
Parse the infix expression to postfix using a stack and then evaluate the postfix expression using another stack
Handle operators precedence and associativity while converting to postfix
Use a stack to keep track of operands and operators during evaluation
Ensure to handle parentheses properly to maintain correct order of operation...
As the Government ramps up vaccination drives to combat the second wave of Covid-19, you are tasked with helping plan an effective vaccination schedule. Your goal is...
The task is to plan an effective vaccination schedule to maximize the number of vaccines administered on a particular day, while adhering to certain rules.
Given 'n' days for vaccination drive, 'maxVaccines' available, and 'dayNumber' to maximize vaccines on.
Distribute vaccines each day with a positive number, ensuring the difference between consecutive days is not more than 1.
Output the maximum number of vaccines admin...
Round duration - 60 minutes
Round difficulty - Medium
It was a bar raiser round where they ask system design questions mostly around APIs and Databases.
Asked to create APIs and design tables.
Round duration - 60 minutes
Round difficulty - Easy
Round with one of the founders to see for cultural fit. General questions about you, your journey, reason for change, priorities when looking for a job.
Tip 1 : Practice DSA
Tip 2 : Practice OOP
Tip 3 : Be honest
Tip 1 : Don't lie anything on your resume
Tip 2 : Keep it crisp and one page max
I appeared for an interview before May 2021.
Round duration - 30 minutes
Round difficulty - Easy
The round was a resume walkthrough and one question related to DS as I mentioned one project related to that.
It happened in the morning. You should walkthrough your resume before going for this round.
Round duration - 60 minutes
Round difficulty - Medium
Round contained 1 DSA question
You are provided with an integer 'N'. Your task is to calculate and print the factorial of 'N'. The factorial of a number 'N', denoted as N!, is the product of all ...
Calculate and print the factorial of a given integer 'N'.
Iterate from 1 to N and multiply each number to calculate factorial
Handle edge cases like N=0 or N=1 separately
Use recursion or iterative approach to calculate factorial
Round duration - 60 minutes
Round difficulty - Easy
A problem based on data and I had to find some interference from the same
Round duration - 60 minutes
Round difficulty - Easy
This was a culture fit round based on questions like why do you want to join a startup?
What do you expect working in a startup and how would you solve a challenge you are facing.
The career path that you are aiming
Tip 1 : Focus more on getting to the approaches whatever comes to your mind and not just thinking right the approach.
Tip 2 : Expect question related to system design in a start up interviews
Tip 1 : You should have good projects and you should know about them very well
Tip 2 : You can try any simple format that looks concise
Top trending discussions
posted on 10 May 2020
I applied via Recruitment Consultant and was interviewed in Apr 2020. There were 4 interview rounds.
posted on 15 Jul 2022
I applied via Referral and was interviewed before Jul 2021. There were 3 interview rounds.
If you are a fresher , then this is for you else almost no coding test for experienced candidates.
posted on 30 Jan 2021
I applied via Recruitment Consultant and was interviewed in Dec 2020. There were 3 interview rounds.
API testing methods involve functional, performance, security, and exploratory testing.
Functional testing ensures that the API meets the requirements and specifications.
Performance testing checks the API's response time, throughput, and resource utilization.
Security testing verifies the API's authentication, authorization, and encryption mechanisms.
Exploratory testing involves ad-hoc testing to discover defects and usa...
Sanity and Smoke are types of software testing. Sanity tests a specific functionality while Smoke tests the entire system.
Sanity testing is a narrow and deep testing approach while Smoke testing is a broad and shallow testing approach.
Sanity testing is performed after a small change in code while Smoke testing is performed after a major change in code.
Sanity testing is used to check if the critical functionalities are ...
Retesting is testing the same functionality again after fixing the defects. Regression is testing the unchanged functionality after making changes.
Retesting is done to ensure that the defects have been fixed and the functionality is working as expected.
Regression is done to ensure that the changes made to the software have not affected the existing functionality.
Retesting is a subset of regression testing.
Retesting is ...
I applied via Recruitment Consultant and was interviewed in Feb 2021. There were 3 interview rounds.
SOLID principles are a set of five design principles for writing maintainable and scalable code.
Single Responsibility Principle (SRP) - a class should have only one reason to change
Open-Closed Principle (OCP) - a class should be open for extension but closed for modification
Liskov Substitution Principle (LSP) - a subclass should be able to replace its parent class without affecting the system's behavior
Interface Segreg...
Ref and out are both used for passing arguments by reference in C#. Ref is bidirectional while out is unidirectional.
Ref and out are used to pass arguments by reference instead of by value
Ref is used for both input and output parameters while out is only used for output parameters
Ref requires the variable to be initialized before passing while out does not
Example: void MyMethod(ref int x) { x = x + 1; } and void MyMeth...
REST APIs are a way to interact with web services. Popular status codes include 200, 404, and 500.
REST APIs allow clients to access and manipulate resources on a server using HTTP requests
Common HTTP methods used in REST APIs include GET, POST, PUT, and DELETE
Status codes indicate the success or failure of a request, with 2xx codes indicating success and 4xx/5xx codes indicating errors
Some popular status codes include ...
Memory management in C# involves automatic garbage collection and the use of pointers.
C# uses a garbage collector to automatically manage memory allocation and deallocation.
Developers can use pointers to directly manipulate memory, but this is not recommended.
C# also provides tools for managing memory usage, such as the IDisposable interface and the using statement.
Microservices, cloud-native, and serverless are the latest architectural trends in C#.
Microservices architecture is gaining popularity due to its scalability and flexibility.
Cloud-native architecture focuses on building applications that are optimized for cloud environments.
Serverless architecture allows developers to focus on writing code without worrying about infrastructure management.
Other trends include containeri...
Both .NET Core and Framework are used for developing Windows applications, but Core is cross-platform and lightweight.
Core is open-source and modular, while Framework is a monolithic framework
Core has better performance and scalability than Framework
Core supports microservices architecture, while Framework does not
Core has a smaller footprint and can be deployed as a single executable
Framework has better backward compa...
Major advancements in .NET Core include improved performance, cross-platform compatibility, and enhanced security features.
Improved performance through the use of Span
Cross-platform compatibility with support for Linux and macOS
Enhanced security features such as runtime code generation and data protection
Introduction of .NET Core 3.0 with support for Windows Desktop applications
Integration with ...
posted on 16 Sep 2024
I appeared for an interview in Mar 2024.
I appeared for an interview in Jul 2024.
Leet code medium level question
Guide to completing a RESTful API coding task with essential pointers and examples.
Understand REST principles: Use HTTP methods (GET, POST, PUT, DELETE) appropriately.
Define clear endpoints: Example - /api/users for user-related operations.
Implement status codes: Use 200 for success, 404 for not found, 500 for server errors.
Use JSON for data interchange: Ensure requests and responses are in JSON format.
Consider authent...
Managing multiple events on a single variable requires careful synchronization to ensure accurate results.
Use locks or mutexes to prevent race conditions when accessing the variable.
Implement event debouncing to limit the frequency of updates, ensuring only the final event is processed.
Utilize a queue to handle events sequentially, processing them one at a time to maintain accuracy.
Consider using atomic operations for ...
posted on 2 Jan 2022
I applied via Naukri.com and was interviewed in Dec 2021. There were 4 interview rounds.
based on 2 reviews
Rating in categories
Telecaller
35
salaries
| ₹1.5 L/yr - ₹3 L/yr |
Business Operations Analyst
23
salaries
| ₹3.6 L/yr - ₹7.5 L/yr |
Product Engineer
21
salaries
| ₹16 L/yr - ₹25 L/yr |
Sales Expert
18
salaries
| ₹1.5 L/yr - ₹3.6 L/yr |
Sales Executive
15
salaries
| ₹1.2 L/yr - ₹3.8 L/yr |
Cyfuture
Maxgen Technologies
JoulestoWatts Business Solutions
Value Point Systems