i
Upstox
Filter interviews by
DS/ALGO and problem-solving was asked in round one
Top trending discussions
I appeared for an interview before Dec 2020.
Round duration - 90 minutes
Round difficulty - Medium
The round consisted of 3 coding Questions and 20 Technical MCQs.
Given a number of ropes denoted as 'N' and an array containing the lengths of these ropes, your task is to connect the ropes into one single rope. The cost to connect two r...
The task is to find the minimum cost required to connect all the ropes by summing their lengths.
Iterate through the ropes and connect the two shortest ropes at each step to minimize cost
Use a priority queue to efficiently find the shortest ropes
Keep track of the total cost as you connect the ropes
Example: For input [4, 3, 2, 6], connect 2 and 3 (cost 5), then connect 4 and 5 (cost 9), then connect 9 and 6 (cost 15) for
Determine if a given N * N matrix is an idempotent matrix. A matrix is considered idempotent if it satisfies the following condition:
M * M = M
The first line cont...
Check if a given matrix is idempotent by verifying if M * M = M.
Iterate through the matrix and multiply it with itself to check if it equals the original matrix.
If the condition M * M = M is satisfied, then the matrix is idempotent.
If the condition is not satisfied, then the matrix is not idempotent.
Given an integer 'N', calculate and print the sum of the least common multiples (LCM) for each integer from 1 to N with N.
The sum is represented as:LCM(1, N) + LCM(2, N) + ....
Calculate and print the sum of least common multiples (LCM) for each integer from 1 to N with N.
Iterate from 1 to N and calculate LCM of each number with N
Add all the calculated LCM values to get the final sum
Return the sum for each test case
Round duration - 120 minutes
Round difficulty - Medium
This round is a Long Coding Round. Every Candidate was assigned with a mentor who guides them, We were given a real-life scenario for which we have to construct a database with required tables. We should draw an ER Diagram to demonstrate the Database. After the Database Completion, We have to Start Coding the Application. The Design(like Placing the button or background colour) is not given much importance. They mainly test the practical knowledge of candidates in OOPS and expertise in a C, C++, Java, Android or any other language were OOPS Concepts can be applied.
Round duration - 180 Minutes
Round difficulty - Medium
This Round is a technical Interview. I was asked Questions to test my Technical Knowledge.
Given an integer array arr
of size 'N' containing only 0s, 1s, and 2s, write an algorithm to sort the array.
The first line contains an integer 'T' representing the n...
Sort an array of 0s, 1s, and 2s in linear time complexity.
Use three pointers to keep track of 0s, 1s, and 2s while iterating through the array.
Swap elements based on the values encountered to sort the array in-place.
Time complexity of the algorithm should be O(N) where N is the size of the array.
Round duration - 20 Minutes
Round difficulty - Easy
Tip 1 : Do Atleast 2 Projects
Tip 2 : Be Strong in what you have in your resume
Tip 3 : Be Confident and Polite
Tip 1 : Keep it Short to one or two pages
Tip 2 : Keep it standout..as it is what projects you uniquely.
posted on 6 Apr 2024
C, c++ mcq questions are asked
3 easy to medium level questions
I applied via Recruitment Consultant and was interviewed in May 2021. There were 4 interview rounds.
Swap words in strings
Split the string into words
Swap the words using a temporary variable
Join the words back into a string
I applied via Naukri.com and was interviewed in Apr 2024. There were 4 interview rounds.
Some question related professional round
String ,array, linkedlist
I appeared for an interview in Jul 2024.
Static function is a function that can only be accessed within the same file, while a static variable is a variable that retains its value between function calls.
Static function is declared using the 'static' keyword before the return type, limiting its scope to the file it is defined in.
Static variable is declared using the 'static' keyword before the variable type, retaining its value between function calls.
Example o...
Synchronization technique is a method used to control access to shared resources in a multi-threaded environment.
Synchronization techniques prevent race conditions and ensure data consistency
Common synchronization techniques include locks, semaphores, and monitors
Examples include using synchronized keyword in Java or mutex in C++
Add an element to a linked list.
posted on 15 Aug 2024
Aptitude test on engineering subjects
Writing projects in c
I applied via LinkedIn and was interviewed in Apr 2024. There was 1 interview round.
It's their home assignment you need to make it in whatever tech stack you want to make and then interview happens on the basis of this and improvements and questions are asked around it.
The weather today is sunny with a few clouds and a high of 75 degrees.
Sunny weather with some clouds
High temperature of 75 degrees
Possibility of rain later in the day
I am passionate about creating innovative software solutions and believe your company aligns with my values and goals.
Passionate about software development
Believe company aligns with values and goals
I value continuous learning, collaboration, innovation, and integrity in my work as a software developer.
Continuous learning: I believe in staying updated with the latest technologies and trends in the industry.
Collaboration: I value working in a team and sharing knowledge and ideas with my colleagues.
Innovation: I strive to find creative solutions to problems and improve processes.
Integrity: I believe in honesty, tran...
I prefer arrays for their fixed size and faster access, but lists for their flexibility and ease of manipulation.
Arrays are preferred for their fixed size and faster access time, especially when random access is required.
Lists are more flexible and easier to manipulate, especially when elements need to be added or removed frequently.
Arrays are typically used when the size of the collection is known beforehand, while li...
It continues for 15 mins
based on 1 interview
Interview experience
based on 4 reviews
Rating in categories
Customer Service Executive
43
salaries
| ₹1.1 L/yr - ₹3.3 L/yr |
Senior Software Engineer
28
salaries
| ₹17 L/yr - ₹60 L/yr |
Associate Manager
20
salaries
| ₹9.5 L/yr - ₹13.5 L/yr |
Sales Executive
20
salaries
| ₹1.5 L/yr - ₹4 L/yr |
Product Manager
19
salaries
| ₹18 L/yr - ₹50 L/yr |
Zerodha
HDFC Securities
Kotak Securities
IIFL Finance