Git Product home page Git Product logo

taodailin's Projects

angular-demo icon angular-demo

:rabbit:angular的学习资料 These are about angular learning materials, hoping to help you :snowman:关于angular的常用知识点,DEMO和总结,不定时更新,欢迎fork和star On the common knowledge of angular, DEMO and summary, not regular updates, you can fork and star

angular-news icon angular-news

:panda_face:基于angular.js和weui重写的新闻客户端

cart icon cart

使用angular实现购物车商品的增加、删除、排序、检索的功能

douban-api-proxy icon douban-api-proxy

一个豆瓣 API 的反向代理配置,旨在解决豆瓣屏蔽小程序请求问题(豆瓣接口 403 问题)

game icon game

看萧井陌吹牛皮,练习写代码

good-text-share icon good-text-share

:smiley_cat:整理这几年我在工作中的一些技术分享和学习资料 These share data are from my usual work and learning,hoping to help you,If you like you can star

gridea icon gridea

✍️一个静态博客写作客户端 (A static blog writing client)

hintsidebar icon hintsidebar

侧边栏带字母索引的联系人列表,可定位

html5_media_player icon html5_media_player

这是我利用原生的js运用面向对象**封装的一个音乐播放器插件

javascripttest icon javascripttest

Use nodejs and mongoDB to build a web app loosely modeled on Spotify, with the following features: ● Register/Login/Logout ● View all songs (including song info like #listens, artist, album) ● Add/Remove song from library ● View library ● View artists and their songs Use a well designed db schema to efficiently perform the above actions (even when scaled). Optional: Use React.js and/or graphql Include as many features as you can, and add more functionality if possible :) Write a function to javascript/node to solve the following problem: Consider a scenario in our web app above: Users can follow other users, and they can follow others (thus creating a network of users). Given a song name and username, identify users in his network that have the given song in their library. We’ll test your code on hidden inputs. Input will be of the following format: First line will contain an int N - no of users The next N2 lines will contain: userID NoOfSongs Song1 Song2 Song3 … The next N 2 lines will contain a userID followed by his follow list. The final line will contain a userID and songID Output all users in the given user’s network that have the given song in their library. Input: Number of users N(int) userID1(int) numberOfSongs K(int) SongId1(int) songid2 songId3 …. SongIdk . . . userID2(int) numberOfSongs m(int) SongId1 songid2 songId3 …. SongIdm UserID1 userID2 UserID3 . . UserId1 SongId2 Input: 4 112112 3 1 2 3 100100 5 3 77 33 9 8 111110 2 99 77 666666 1 3 112112 100100 111110 110110 666666 111110 112112 100100 666666 111110 112112 3 Output: 100100 666666

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.