Serie: Data Structure and Algorithm
python
7 líneas
· Actualizado 2026-02-03
teaching.py
Data Structure and Algorithm/teaching.py
'''
Find the highest frequency of 0 and 1 in an array, return the higest frequency of 0 and 1
'''
arr = [1, 0, 0, 1, 0, 1, 1, 0, 1]
Artículos relacionados
Data Structure and Algorithm
cpp
Actualizado 2026-02-03
k-th-large.cpp
k-th-large.cpp — cpp source code from the Data Structure and Algorithm learning materials (Data Structure and Algorithm/k-th-large.cpp).
Leer artículo →
Data Structure and Algorithm
cpp
Actualizado 2026-02-03
word-search-puzzle.cpp
word-search-puzzle.cpp — cpp source code from the Data Structure and Algorithm learning materials (Data Structure and Algorithm/word-search-puzzle.cpp).
Leer artículo →