Steps -
- Make sure you have
node
installed. - open the
script
folder and runnpm i
. - run
npm run generate
in the terminal to generateOUTPUT.md
. - Output markdown file will be written in the
script
folder itself.
Note: By default it will generate questions for upto 2 pages (per page 50 means, 100 questions)
To change no of questions, change this line in the index.js
file:
let targetPageIndex = 2; // I want only 100 problems for now that's why only 2 pages
// you can change it upto 18 refer this page for the exact no, https://projecteuler.net/archives