Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions challengers-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
1. [Mrinal](https://github.com/mrinal1224)
2. [Shivay](https://github.com/shivaylamba)
3. [Raghav](https://github.com/raghavdhingra)
4. [Kinshuk](https://github.com/Kinshuk2003)
8 changes: 8 additions & 0 deletions contributors/Kinshuk2003/Kinshuk2003.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: Kinshuk Goyal
github_user_name: Kinshuk2003
url_of_github_issue: https://github.com/scaleracademy/scaler-september-open-source-challenge/issues/205
your_favroite_programming_language: C, C++, Python, HTML, CSS, JAVASCRIPT
your_hosted_github_pages_link: https://kinshuk2003.github.io/
your_hosted_github_pages_repository_link: https://github.com/Kinshuk2003/Kinshuk2003.github.io
---
4 changes: 4 additions & 0 deletions contributors/Kinshuk2003/gist-solutions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# links to gist

1. [software development topic](https://gist.github.com/Kinshuk2003/4cea2ff56db2b4da9f26e36f6b11bfee)
2. [Code snippet](https://gist.github.com/Kinshuk2003/ee923b2feaf424367d34e9eae452ec86)
22 changes: 22 additions & 0 deletions contributors/Kinshuk2003/insertionsort.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-


def InsertionSort(arr):

n = len(arr)

for i in range(0, n):
key = arr[i]
j = i - 1
while j >= 0 and key < arr[j]:
arr[j + 1] = arr[j]
j -= 1
arr[j + 1] = key


# driver code

arr = [6, 5, 3, 2, 8, 10, 9]
InsertionSort(arr)
print(arr)