Skip to content

AvinashKumar3000/react-mini-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ALL IMPORTANT LINKS

firestore - project link

A simple application to store the anime you like

simple json -server api github link

https://github.com/avicreationstudio/JSON-server-API

sample mini project

All important study material links

My JAVA full stack projects github link

ML and DS reference links

package.json

{
  "name": "json-server-api",
  "version": "1.0.0",
  "description": "A simple json server application",
  "main": "index.js",
  "scripts": {
    "start": "node index.js",
    "dev": "nodemon index.js",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/avicreationstudio/JSON-server-API.git"
  },
  "keywords": [
    "json-server"
  ],
  "author": "Avinash Kumar 3000",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/avicreationstudio/JSON-server-API/issues"
  },
  "homepage": "https://github.com/avicreationstudio/JSON-server-API#readme",
  "dependencies": {
    "cors": "^2.8.5",
    "json-server": "^0.16.3",
    "json-server-api": "file:",
    "morgan": "^1.10.0"
  },
  "devDependencies": {
    "nodemon": "1.18.4"
  }
}
  • You are given two positive integers n and k. There are n children numbered from 0 to n - 1 standing in a queue in order from left to right.
  • Initially, child 0 holds a ball and the direction of passing the ball is towards the right direction. After each second, the child holding the ball passes it to the child next to them. Once the ball reaches either end of the line, i.e. child 0 or child n - 1, the direction of passing is reversed.
  • Return the number of the child who receives the ball after k seconds.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •