Coder Social home page Coder Social logo

abubakar-sattar / hackerrank-problemsolutions Goto Github PK

View Code? Open in Web Editor NEW
21.0 1.0 59.0 96 KB

Feel free to use this project to make your FIRST CONTRIBUTION to an open-source project on GitHub. This repository is open to all members of the GitHub community. Any member can contribute to this project!

Python 55.02% Java 12.21% C++ 17.82% Jupyter Notebook 14.95%
hacktoberfest hacktoberfest-accepted python cpp java

hackerrank-problemsolutions's Introduction

Hacktoberfest 2022

HackerRank Problems Solutions

alt text

Feel free to use this project to make your first contribution to an open-source project on GitHub.

This repository is open to all members of the GitHub community. Any member can contribute to this project!

Guidelines

  • Only contribute a HackerRank Problem Solution.

  • Always create an issue before making a Pull Request.

  • The Program should be executable, with 0 errors and proper documentation.

  • Programs only written in Python, Java & C++ are allowed.

  • Do not add problem solution if it already exists.

  • Writing the author's name and the date modified is a must.

alt text

  • Filename should follow the order ProblemNumber_ProblemName.extension If there are more than 2 words than the first letter of each word must be capital. Example: 1_TwoSum.cpp

  • Don't spam it will be rejected immediately.

Steps for Contribution

  1. Add your name to the CONTRIBUTORS.md file

  2. Add a profile page to the profiles directory

  3. Star this Repository.

  4. Fork this Repository.

  5. Clone this Repository.
    git clone https://github.com/<your-github-username>/HackerRank-ProblemSolutions

  6. Navigate to the project directory.
    cd HackerRank-ProblemSolutions

  7. Create a new branch.
    git checkout -b <your_branch_name>

  8. Make changes.

  9. Stage your changes and commit

git add -A

git commit -m "<your_commit_message>"
  1. Push your local commits to the remote repo.
    git push -u origin <your_branch_name>
  2. Create a Pull Request.

Congratulations! ๐ŸŽ‰ you've made your contribution.

hackerrank-problemsolutions's People

Contributors

abdulmoizquddus avatar abubakar-sattar avatar aznaijaz avatar cocomo29 avatar hajra6 avatar hamzahoda avatar hemant2704 avatar ilyas123ahmed avatar jayyuuuu avatar khadija-bibi avatar mahnoor26 avatar mahnoorshoukat avatar minhaj-erozgar avatar mohsinmahmood12 avatar muhammad-bilal-mb avatar nikhilsrv avatar samar-ali666 avatar satkar2001 avatar shawfromattock avatar snehpr966 avatar umesh-01 avatar xfarooqi avatar zotecops avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hackerrank-problemsolutions's Issues

Python Delta Time

When users post an update on social media,such as a URL, image, status update etc., other users in their network are able to view this new post on their news feed. Users can also see exactly when the post was published, i.e, how many hours, minutes or seconds ago.

Since sometimes posts are published and viewed in different time zones, this can be confusing. You are given two timestamps of one such post that a user can see on his newsfeed in the following format:

Day dd Mon yyyy hh:mm:ss +xxxx

Here +xxxx represents the time zone. Your task is to print the absolute difference (in seconds) between them.

Input Format

The first line contains , the number of testcases.
Each testcase contains lines, representing time and time .

Constraints

  • Input contains only valid timestamps
  • year <= 3000

Sample Input

Sun 10 May 2015 13:54:36 -0700
Sun 10 May 2015 13:54:36 -0000

Sample Output

25200

JavaList

New issue for adding code of JavaList(Hackerrank)

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.