JSON in JavaScript – You have to implement the concept of JSON in JavaScript…


You have to implement the concept of JSON in JavaScript. You are given an array of objects WordGame of length N. Each array object contains two data fields Tile and Score denoting an alphabet and score of that alphabet respectively. The final task is to return the maximum possible score a player can achieve by adding score of K number of tiles.

You’ve been provided with a starter code which contains sub-tasks as defined below:

Subtask 1 : Parse the JSON object from the given string format and store into Array Scrabble.

Subtask 2 : Maximum possible score a player can achieve by adding K number of Tiles Array Scrabble.

 

Related Posts

Close Bitnami banner
Bitnami