big format

This commit is contained in:
Dax Raad
2025-11-06 13:03:02 -05:00
parent 8729edc5e0
commit 1ea3a8eb9b
183 changed files with 2629 additions and 2497 deletions

View File

@@ -1,5 +1,9 @@
export namespace Binary {
export function search<T>(array: T[], id: string, compare: (item: T) => string): { found: boolean; index: number } {
export function search<T>(
array: T[],
id: string,
compare: (item: T) => string,
): { found: boolean; index: number } {
let left = 0
let right = array.length - 1