Skip to content

Instantly share code, notes, and snippets.

@Jkker
Jkker / asd
Created December 12, 2023 02:00
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"param": {
"type": "object",
"properties": {
"range": {
"anyOf": [
{
@Jkker
Jkker / bubble_sort.py
Last active May 4, 2021 14:52
Sorting
def bubble_sort(A):
for iteration in range(len(A)):
for i in range(iteration):
if A[i] > A[i + 1]:
A[i], A[i + 1] = A[i + 1], A[i]