資料結構›Ch1 演算法基礎
第 7 題/共 57 題
◀ DS 7/57
7. Pseudocode設計、二進位表示
#DS-01-007易Pseudocode設計二進位表示

Write a function in pseudocode that takes an integer, N, as input and returns its binary representation as a string. If N is negative (N < 0), the function should return 'NA'. For example, if N = 5, the function returns '101'.

📄 台大114
跳轉到第題
▤完整推導請見《WH 資工筆記 · 資料結構》Ch1 演算法基礎
本章題號 · 1–20 / 57