Shopify interview question

array of strings "productName, PopularityScoreAsaStringOutOf100, and priceIntegerAsaString" how would you rank the items by popularity. If there is a tie with pop score, place the cheaper priced item first.

Interview Answer

Anonymous

31 Mar 2020

know how to manipulate data types of arrays and objects and how to use sort.