GithubHelp home page GithubHelp logo

challenge-01-84raja's Introduction

Tantangan: JS Struktur Data

Kamu adalah seorang developer untuk sebuah sosial media DingDong. Di sana, para pengguna bisa memasukkan data profilnya yang nantinya akan ditampilkan untuk semua orang. Berikut sampel data dari dua orang pengguna dalam bentuk tabel:

name gender age email favoriteColor isHavePet education favoriteRestaurant
Monica Female 17 [email protected] Yellow, Pink, White, Purple Yes name: SD 01, city: Jakarta, graduate: 2016 Bento, Sushi, Pancake, Eggy, Tempura, Bento, Eggy, Padang, Tteok, Sushi, Sushi
name: SMP 02, city: Jakarta, graduate: 2019
name: SMA 03, city: Tangerang
Wendy Male 23 [email protected] Blue, Black, Grey No name: SD 02, city: Jakarta, graduate: 2010 Tempura, Bento, Sushi, Pancake, Padang, Katsu, Geprek, Pancake, Eggy
name: SMP 03, city: Bogor, graduate: 2013
name: SMA 01, city: Surabaya, graduate: 2016
name: Universitas Maju, city: Tangerang

Sebagai seorang developer, kamu diminta untuk membuat sebuah struktur data yang cocok untuk menyimpan data tersebut di aplikasimu. Gunakan tipe struktur data yang tepat untuk menyimpan data tersebut!

Hasil akhir yang diharapkan adalah sebuah variabel users yang menampung data semua user.

Catatan:

  • Nama atribut disesuaikan dengan judul pada kolom tabel (camelCase)
  • Warna kesukaan tidak boleh duplikat
  • Restoran tidak boleh duplikat

challenge-01-84raja's People

Contributors

84raja avatar github-classroom[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.