Closed
Conversation
05 folder add to gitignore
ZelenyMartin
requested changes
Apr 2, 2025
Contributor
ZelenyMartin
left a comment
There was a problem hiding this comment.
Kdyby se ti podařilo samostudiem nastudovat jako udělat interaktivní rebase a pomocí něho smazat první a třetí commit v této branchi, tak by ty bylo úplně nejskvělejší. Ale kdyžtak vyřešíme na srazu.
Comment on lines
+8
to
+11
| for finder in lst: | ||
| if finder < lst[0]: | ||
| numero = finder | ||
| break |
Contributor
There was a problem hiding this comment.
Když už ten seznam řadíš, tak už nepotřebuješ žádný for ani if.
Contributor
Author
There was a problem hiding this comment.
ten for a if jsem tam dal pro pripad, ze by seznam obsahoval duplicity, mel jsem najít druhe nejvetsi cislo, sorted by mi je jen seradil, ale v pripade [10,12,12,12,11,11] bych druhe nejvetsi nenasel, pouhým lst[1] ale uznávám, že se to jistě dalo napsat i líp :)
…hon-knihovny into js-20-second-largest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ten GITIGNORE jsem si nastavoval jen pro sebe, složku 05 main nemá, ale já ji chtěl pro své drobnosti, dá se to udělat i soukromě aby to každý neviděl?