Skip to content

Instantly share code, notes, and snippets.

View narender56's full-sized avatar
πŸ‘¨β€πŸ’»

Naren narender56

πŸ‘¨β€πŸ’»
View GitHub Profile
interface Transaction {
id: string;
bank_country_code: string;
amount: number;
}
const latencies: Record<string, number> = {}
function prioritize(transactions: Transaction[], totalTime: number = 1000): Transaction[] {