Skip to content

Instantly share code, notes, and snippets.

@sebkraemer
sebkraemer / main.dart
Last active October 9, 2022 11:32
mic lower_bound
import 'package:collection/collection.dart';
class Mitarbeiter {
int gehalt;
String name;
Mitarbeiter(this.gehalt, this.name);
}
int micLowerBound<E, V>(List<E> sortedList, V value, {int compare(E, V)?}) {
if (compare == null) {