2017-07-10から1日間の記事一覧
#9 Tries: Contacts www.hackerrank.com シンプルなコンタクトリスト管理アプリケーションを作成する問題。 以下のフォーマットの入力が与えられる。 4 add hack add hackerrank find hac find hak 1行目はオペレーション数、2行目以下は、スペース区切りで…
#7 Trees: Is This a Binary Search Tree? www.hackerrank.com データ構造が二分探索木になっているかどうかをチェックする問題。 The value of every node in a node’s left subtree is less than the data value of that node. The value of every node in…