Skip to content
This repository was archived by the owner on May 18, 2022. It is now read-only.

solved trello#5

Open
gdsoumya wants to merge 2 commits intoworkattech:masterfrom
gdsoumya:solved_trello
Open

solved trello#5
gdsoumya wants to merge 2 commits intoworkattech:masterfrom
gdsoumya:solved_trello

Conversation

@gdsoumya
Copy link
Copy Markdown

No description provided.

// Model for Board
public class Board {

private String name, bid, url;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is bid here?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it. Could just be id. bid is not self-explanatory

}

// Parses the Input, validates the data and calls required functions
public void handleRequest(String request) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this could be cleaner. You can put the parsing logic before this.

@gcnit
Copy link
Copy Markdown
Collaborator

gcnit commented Feb 20, 2020

@gdsoumya code looks good. Gave a few minor comments.

Would recommend you to try the other problems as well.

Snake and Ladder Design: https://workat.tech/machine-coding/practice/snake-and-ladder-problem-zgtac9lxwntg
Splitwise Design: https://workat.tech/machine-coding/practice/splitwise-problem-0kp2yneec2q2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants