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
| def selection_sort(arr): | |
| for i in range(len(arr)): | |
| min_element_index = i | |
| for j in range(i + 1, len(arr)): | |
| if arr[j] < arr[min_element_index]: | |
| min_element_index = j | |
| arr[i], arr[min_element_index] = arr[min_element_index], arr[i] |
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
| import chokidar from 'chokidar'; | |
| import fs from 'fs'; | |
| import path from 'path'; | |
| import dotenv from 'dotenv'; | |
| dotenv.config(); | |
| const OPENROUTER_API_KEY = process.env.OPENROUTER_API_KEY; | |
| const PROMPTS = [ |
OlderNewer