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.
Sde Interview Questions
16,614 sde interview questions shared by candidates
Knapsack based question, it was a variation.
Inteview questions were based on Data Structure,oops,DBMS and Algorithm
What is the underlying data structure of a map in c++?
tell us about oops concept
Find if the given string is special or not
what would you do for a klondike bar?
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.
Viewing 681 - 690 interview questions
See Interview Questions for Similar Jobs
Ruby DeveloperRuby On Rails DeveloperRuby On Rails Software EngineerSoftware TraineeSoftware Engineer C#Ruby On Rails Ror GithubRails DeveloperSoftware Engineer Front EndSoftware Engineer Developer Entry Level Ruby On RaSoftware Developer Entry LevelSoftware Developer FresherSoftware Engineer CoopSenior Ruby On Rails DeveloperJunior Ruby On Rails DeveloperSoftware Applications DeveloperSoftware Engineer Web DeveloperPhp Software DeveloperSoftware Engineer Ux