Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ssavi-ict opened this issue Jan 21, 2023 · 2 comments

Comments

@ssavi-ict
Copy link
Owner

ssavi-ict commented Jan 21, 2023

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 ssavi-ict pinned this issue Nov 5, 2023
@pankajsingh92533
Copy link

Media.net

@ssavi-ict
Copy link
Owner Author

@pankajsingh92533 Kindly contribute by maintaining the guidelines.

Repository owner locked as off-topic and limited conversation to collaborators Apr 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants