Skip to content

Initial short form coding exercise for mobile engineers in Kotlin

Notifications You must be signed in to change notification settings

vipinhelloindia/exercise-kotlin-android

 
 

Repository files navigation

Fueled Kotlin Exercise

A blogging platform stores the following information that is available through separate API endpoints:

  • user accounts
  • blog posts for each user
  • comments for each blog post

Objective

The organization needs to identify the 3 most engaging bloggers on the platform. Using only Swift and the Foundation library, output the top 3 users with the highest average number of comments per post in the following format:

    [name] - [id], Score: [average_comments]

Instead of connecting to a remote API, we are providing this data in form of JSON files, which have been made accessible through a custom Resource enum with a data method that provides the contents of the file.

What we're looking to evaluate

  1. How you choose to model your data
  2. How you transform the provided JSON data to your data model
  3. How you use your models to calculate this average value
  4. How you use this data point to sort the users

Instructions

  1. Fork our repo to your own Github account and make private
  2. Invite user fuelebot to collaborate on that repo
  3. Address each step of the problem above and commit as necessary
  4. Once you are finished, open a PR on your work and assign fueledbot as the reviewer

About

Initial short form coding exercise for mobile engineers in Kotlin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%