-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need to add another question that I was asked recently at uber #93
Comments
Hi @Ambuj-K, Thanks for your question. The criteria for segment being captured or not is little unclear. It would be very helpful, if you can add the revised question in a new pull request. Meanwhile, here is the contributing guideline. Cheers🤟! |
After looking into samples above, @rishabh115 Color 1 & Color 2 is acting like a positive and negative to balance the pattern. Which ever pattern is balanced is Captured, else Not Captured. Is this true...? @Ambuj-K Please conform this, I'll provide the algorithm & code for this. |
Hey if you are to open a new issue for hacktoberfest I can add the questions from ThoughtWorks, TCS, WIPRO interviews? |
Or should I just fork edit and then create a pull request |
@rishabh115 Hi, do we need to create only code or only Description of the problem statement or both...? |
Guys, Have a look at the contributing guidelines. It has everything you need to know. |
I have added the questions I was asked for ThoughtWorks interview @rishabh115 |
The question I was asked is,
A segment of arbitrary size, how do we tell that it is captured or not.
E - Empty, 1 - Color 1, 2 - Color 2
EE1111EE
EE1221EE
EE1221EE
EE1111EE Captured
EE1111EE
EE1221EE
EE1221EE
E1221EEE
E1111EEE Captured
EE1111EE
EE1221EE
EE2221EE
EE111EEE Not Captured
I would like to add it, and if someone can suggest a solution I'd be grateful
The text was updated successfully, but these errors were encountered: