Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Multiple solved programming questions are avilable (in python) here with explained solutions. Completely for free.

License

NotificationsYou must be signed in to change notification settings

Abhirajdas/Python-Compititive-Programming-

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is it?

This is a resource for the guys interested in Compitive programing or want to get a job in tech companies.

Multiple solved programming questions are avilable (in python) here with explained solutions. Completely for free.quadratic equation

Pre Requisites

  • Good Hand in Python

How To use it Effectively?

Questions are sorted by the topics Like Maths, Arrays,etc. in there seprate folder. open the folder you want to learn topics about. you'll find questions in there.vist the Question.On the Top of the you'll see Details about the Question and the input output like this.

"""Find the digits in a factorial of the given numberExample :    input = 5    output = 3Explaination:    factorial of 5 is 120 and 120 have 3 digits"""

then you'll find the Solution for the Question.

importmathdefdigits_In_Factorial(N):fact=1foriinrange(1,N+1):fact*=ireturnlen(str(fact))print(digits_In_Factorial(5))

at the end you'll find the explanation and time complexity of the Approch we took.

"""solution explaianation:    in the function digits_In_factorial:        we intialise fact as 1 because the factorail of zero is one and number less than 0 is not considered        than we find the factorail of given number by multiplying the numbers till given number        and at last return the len of the factorial simply by converting it into a strTime Complexity for given solution is O(n)"""

For Contribution Please CheckContribution.md file

About

Multiple solved programming questions are avilable (in python) here with explained solutions. Completely for free.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python100.0%

[8]ページ先頭

©2009-2025 Movatter.jp