an array was giving comprising of 0's and 1's. 1 had to find the number of subarrays having equal number of 0's and 1's in them.
Sde Interview Questions
16,649 sde interview questions shared by candidates
Design splitwise application Input You can create a few users in your main method. No need to take it as input. There will be 3 types of input: Expense in the format: EXPENSE <user-id-of-person-who-paid> <no-of-users> <space-separated-list-of-users> <EQUAL/EXACT> <space-separated-values-in-case-of-non-equal> Show balances for all: SHOW Show balances for a single user: SHOW <user-id> Output When asked to show balance for a single user. Show all the balances that user is part of: Format: <user-id-of-x> owes <user-id-of-y>: <amount> If there are no balances for the input, print No balances In cases where the user for which balance was asked for, owes money, they’ll be x. They’ll be y otherwise.
Knapsack based question, it was a variation.
Inteview questions were based on Data Structure,oops,DBMS and Algorithm
How can u make Your Own imumatebale class
how to get your problem solved at cashify?
Given N tasks and M engineers each with power p[i]. For each successive task, an engineer will take p, then 2p and then 3p and so on amount of days to complete a task. Return the number of days taken to fulfill the task.
Tell me about your project.
Select closest three elements sum to target.
print palindromic numbers till 200
Viewing 661 - 670 interview questions