MIcrosoft Senior Software engineer Onsite Interview questions

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2022-02-26Added By Anonymous
Source: Link

1) Problem was to come up with a solution to parse the MD file input like in GitHub MD files.

If we have input like **User** is my *Name* then the output should be <b> User </b> is my <i> Name </i>.

Word surrounded by ** should be used to make it bold and word surrounded by * should be converted to italic.


2) Second round was to design the autocorrect solution for editors.

Can anyone post the Java solution for this?

Comments