[LeetCode]Binary Tree Level Order Traversal,leetcodetraversal【題目】Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree {3,9,20,#,#,15,7}, 3
POJ 2367 Genealogical tree 拓撲排序,pojgenealogicalDescriptionThe system of Martians' blood relations is confusing enough. Actually, Martians bud when they want and where they want. They gather together in different groups, so that a Martian can have
failed to open stream: Permission denied in,permissiondenied最近在做一個Web2.0的項目,需要用到XML作為資料庫來處理資料,然後我用php寫的,結果就是出現了這個錯誤!快把我搞瘋了啊!!!後來我想,其實就是許可權不足,但是我認為那個eclipse【我使用eclipse開發】的workspace我給了777的許可權啊,怎麼會有這種情況呢?沒辦法,只得煩自己之前的工作記錄,然後問題就來了,我在終端輸入的命令是sudo chmod 777
【LeetCode】Remove Duplicates from Sorted List,leetcodeduplicates 題意:Given a sorted linked list, delete all duplicates such that each element appear only once.For example,Given 1->1->2, return 1->2.Given
POJ 2299 Ultra-QuickSort (歸併排序),pojultra-quicksortUltra-QuickSortTime Limit: 7000MS Memory Limit: 65536KTotal Submissions: 43446 Accepted: 15822DescriptionIn this problem, you have to analyze a particular sorting