Skip to content

Commit

Permalink
Adds repeat string-welcome abroad and fixes gfg profile link
Browse files Browse the repository at this point in the history
  • Loading branch information
omonimus1 committed Jun 10, 2020
1 parent da8e57f commit 36296b6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ In this repository you will find:
* Generic Practicse solutions
* Amazon coding challenges preparation solutions

My solutions to competitive programming problems in [Geeks for Geeks](https://auth.geeksforgeeks.org/user/davidepollicino2015/practice/) written using C++, Python and Java.
My solutions to competitive programming problems in [Geeks for Geeks](https://auth.geeksforgeeks.org/user/davidepollicino/practice/) written using C++, Python and Java.

## Algorithms and Data structures
* [Programming foundamental](#Programming-foundamentals)
Expand Down Expand Up @@ -120,6 +120,8 @@ My solutions to competitive programming problems in [Geeks for Geeks](https://au
| Name | Solution|
|----------|:----------------:|
|String validation |[Python](python/string/string_validation.py)|
|Repeat the string|[Python](python/repeat-the-string.py)|
|Welcome abroad|[Python](python/welcome-abroard-python.py)|
|Hello World|[Python](python/helloworld.py)|
|Contatenate String python|[python](python/concatenating-string.py)|
|Is Isogram|[C++](c++/isIsogram.cpp)|
Expand Down
7 changes: 7 additions & 0 deletions python/repeat-the-string.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# https://practice.geeksforgeeks.org/problems/repeat-the-strings/1/?track=python-module-3&batchId=119
def combo_string(a, b):
# your code here
if(len(a) > len(b)):
return b+a+b
return a+b+a

3 changes: 3 additions & 0 deletions python/welcome-abroard-python.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://practice.geeksforgeeks.org/problems/welcome-aboard-python/1/?track=python-module-3&batchId=119
def welcomeAboard(name):
print ("Welcome", name)

0 comments on commit 36296b6

Please sign in to comment.