Skip to content

Instantly share code, notes, and snippets.

View prakash-pun's full-sized avatar
:octocat:
Focusing, Learning

Prakash Pun prakash-pun

:octocat:
Focusing, Learning
View GitHub Profile
@prakash-pun
prakash-pun / README.md
Created October 18, 2021 06:27
Todo App API

Todo App API

  • Create todo-api folder
  • Add or copy package.json file
  • create src foler inside todo-api folder
  • create server.js and Todo.js file inside src folder
  • And run npm install in the root directory i.e. todo-api
  • run npm start
@prakash-pun
prakash-pun / bubble_sort.py
Last active June 26, 2021 06:30
Bubble Sort Algorithm
# Bubble sort algorithm
def bubbleSort(dataset):
# TODO: start with the array length and decrement each time
for i in range(len(dataset) -1, 0, -1):
for j in range(i):
if dataset[j] > dataset [j+1]:
temp = dataset[j]
dataset[j] = dataset[j+1]
dataset[j+1] = temp