LeetCode-Which-Company icon indicating copy to clipboard operation
LeetCode-Which-Company copied to clipboard

[CONTRIBUTE] Dear Contributors, Requesting Your Attention Regarding Company Contribution

Open ssavi-ict opened this issue 2 years ago • 2 comments

If you are interested in enriching the LeetCode Question's company database feel free to create PR for this JSON file -

https://github.com/ssavi-ict/LC-Which-Company/blob/main/data/company_info.json

On top of the file after the first Curly Brace enter your entry using the following format -

"https://leetcode.com/problems/<the-problem-name>/":[
      "<Question Title Without Question Number>",
      "company1", "company2", "company3", .....
]

For example, for the Two Sum problem.

"https://leetcode.com/problems/two-sum/": [
    "Two Sum",
    "Amazon", "Adobe", "Google", "Apple", "Microsoft", "Facebook", "Bloomberg", "Uber", "Spotify", "Goldman Sachs",
    "Expedia", "Oracle", "Yahoo", "Zoho", "Visa", "Morgan Stanley",  "IBM", "Paypal", "JPMorgan", "Walmart Global Tech",  "Intel",
    "Salesforce",  "Dell", "American Express", "Accenture",  "Samsung",  "Intuit", "Zillow", "Zoom", "Zomato"
  ]

Or to edit add or modify an existing entry - Just add the company name by placing a Comma (,) and the Company name at the end of the list. Like: , "TCS".

The automated workflow (.github/workflows/*.yaml) will validate your entry as per our current JSON schema.

Once your PR pass all the checkpoints I will review the changes and add them accordingly. Make sure you have created a New Branch before making a PR. The contribution process follows -

  1. Clone this repository on your local machine.
  2. Create a new branch where you will make changes.
  3. Move to /data/company_info.json.
  4. Make your Company Contributions.
  5. Push your Contributions to the repo.
  6. Create a PR.

If the PR is valid then I will approve them and merge them with the main branch.

If you are having an issue understanding the steps or you are new to git please follow this cheat shit - https://education.github.com/git-cheat-sheet-education.pdf

Let me know if there is anything to share. I will be more than happy to help. Thank You.

ssavi-ict avatar Jan 21 '23 16:01 ssavi-ict

Media.net

pankajsingh92533 avatar Apr 28 '24 05:04 pankajsingh92533

@pankajsingh92533 Kindly contribute by maintaining the guidelines.

ssavi-ict avatar Apr 28 '24 06:04 ssavi-ict