Skip to content

Commit f4ba513

Browse files
author
Wakidur Rahaman
committed
update function.
1 parent 36af05f commit f4ba513

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/course-master-the-coding/data-structures/hash-tables/hash-tables-04.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,9 @@ function firstRecurringCharacter(array: number[]): number | undefined {
2525
console.log('Nothing match : undefined');
2626
return undefined;
2727
}
28+
29+
const array01 = [2, 5, 1, 2, 3, 5, 1, 2, 4];
30+
const array02 = [2, 1, 1, 2, 3, 5, 1, 2, 4];
31+
const array03 = [2, 3, 4, 5];
32+
// Call function
33+
firstRecurringCharacter(array01);

0 commit comments

Comments
 (0)