Shopee interview question

1. Linked list rearrangement question. for people coding in java, the input is a string, example , if your linked list is 1-2-3, its a string input, so split the input by '-' and see if you can come up with a string manipulation algo(reverse or something), rather than a linked list related algo, because you will have to create a linked list and that will take time 2. Lucky numbers They use an interface where looking away from the screen causes issues. I tend to look down towards the side while thinking and it was flagged.

Interview Answer

Anonymous

24 Feb 2020

Totally don't understand what you mean on question one