shopify interview questions github

How to use Github with Shopify (Online Store 2.0)

Moving forward by 2 chars, move backward by 1 char, move forward 5 chars, replace 1 char to be ‘w’

We can assume that curser is at first character at the beginning. How can I add more operations using OOP if required?

Hi, I bombed my interview after I got this OOP question. Can one of you experts help solve this using Python? I had used switch cases (a dictionary in python which mimics a switch case in other languages) to solve this problem without OOP . But apparently the interviewer wasnt too happy and as a follow up asked me to solve the problem using OOP.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *