├── .idea ├── dictionaries │ └── sunqiang.xml ├── misc.xml ├── modules.xml ├── php.xml ├── php_interivews.iml ├── vcs.xml └── workspace.xml ├── README.md ├── balance_binary_tree.php ├── binary_tree_construct.php ├── binary_tree_node.php ├── convert_binary_search_tree.php ├── copy_complex_list.php ├── delete_linkedlist_node.php ├── excel_column_num.php ├── fibonacci.php ├── find_continuous_sequence.php ├── find_first_common_node.php ├── find_kth_node_to_tail.php ├── find_num_in_sorted_array.php ├── find_number_appear_once.php ├── inverse_pairs.php ├── max_sum_of_subarr.php ├── merge_sorted_lists.php ├── min_num_for_array.php ├── min_num_in_rotated_arr.php ├── mirror_of_binary_tree.php ├── more_than_half_number.php ├── num_of_k.php ├── number_of_1.php ├── number_of_one.php ├── operator.php ├── path_in_tree.php ├── phptag.php ├── pow.php ├── print_binary_tree.php ├── print_matrix_clock_wisely.php ├── print_one_to_max_of_n_digits.php ├── reorder_array.php ├── reverse_linked_list.php ├── sequence_of_binary_search_tree.php ├── space_replace.php ├── stack_min_value.php ├── stack_push_pop_order.php ├── stack_queue.php ├── string_permutation.php ├── sub_structure_in_tree.php ├── test.php ├── tree_depth.php ├── two_numbers_with_sum.php ├── ugly_number.php └── var_dump.php /.idea/dictionaries/sunqiang.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/.idea/dictionaries/sunqiang.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/php.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/.idea/php.xml -------------------------------------------------------------------------------- /.idea/php_interivews.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/.idea/php_interivews.iml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/.idea/workspace.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/README.md -------------------------------------------------------------------------------- /balance_binary_tree.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/balance_binary_tree.php -------------------------------------------------------------------------------- /binary_tree_construct.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/binary_tree_construct.php -------------------------------------------------------------------------------- /binary_tree_node.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/binary_tree_node.php -------------------------------------------------------------------------------- /convert_binary_search_tree.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/convert_binary_search_tree.php -------------------------------------------------------------------------------- /copy_complex_list.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/copy_complex_list.php -------------------------------------------------------------------------------- /delete_linkedlist_node.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/delete_linkedlist_node.php -------------------------------------------------------------------------------- /excel_column_num.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/excel_column_num.php -------------------------------------------------------------------------------- /fibonacci.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/fibonacci.php -------------------------------------------------------------------------------- /find_continuous_sequence.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/find_continuous_sequence.php -------------------------------------------------------------------------------- /find_first_common_node.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/find_first_common_node.php -------------------------------------------------------------------------------- /find_kth_node_to_tail.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/find_kth_node_to_tail.php -------------------------------------------------------------------------------- /find_num_in_sorted_array.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/find_num_in_sorted_array.php -------------------------------------------------------------------------------- /find_number_appear_once.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/find_number_appear_once.php -------------------------------------------------------------------------------- /inverse_pairs.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/inverse_pairs.php -------------------------------------------------------------------------------- /max_sum_of_subarr.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/max_sum_of_subarr.php -------------------------------------------------------------------------------- /merge_sorted_lists.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/merge_sorted_lists.php -------------------------------------------------------------------------------- /min_num_for_array.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/min_num_for_array.php -------------------------------------------------------------------------------- /min_num_in_rotated_arr.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/min_num_in_rotated_arr.php -------------------------------------------------------------------------------- /mirror_of_binary_tree.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/mirror_of_binary_tree.php -------------------------------------------------------------------------------- /more_than_half_number.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/more_than_half_number.php -------------------------------------------------------------------------------- /num_of_k.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/num_of_k.php -------------------------------------------------------------------------------- /number_of_1.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/number_of_1.php -------------------------------------------------------------------------------- /number_of_one.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/number_of_one.php -------------------------------------------------------------------------------- /operator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/operator.php -------------------------------------------------------------------------------- /path_in_tree.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/path_in_tree.php -------------------------------------------------------------------------------- /phptag.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/phptag.php -------------------------------------------------------------------------------- /pow.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/pow.php -------------------------------------------------------------------------------- /print_binary_tree.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/print_binary_tree.php -------------------------------------------------------------------------------- /print_matrix_clock_wisely.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/print_matrix_clock_wisely.php -------------------------------------------------------------------------------- /print_one_to_max_of_n_digits.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/print_one_to_max_of_n_digits.php -------------------------------------------------------------------------------- /reorder_array.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/reorder_array.php -------------------------------------------------------------------------------- /reverse_linked_list.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/reverse_linked_list.php -------------------------------------------------------------------------------- /sequence_of_binary_search_tree.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/sequence_of_binary_search_tree.php -------------------------------------------------------------------------------- /space_replace.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/space_replace.php -------------------------------------------------------------------------------- /stack_min_value.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/stack_min_value.php -------------------------------------------------------------------------------- /stack_push_pop_order.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/stack_push_pop_order.php -------------------------------------------------------------------------------- /stack_queue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/stack_queue.php -------------------------------------------------------------------------------- /string_permutation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/string_permutation.php -------------------------------------------------------------------------------- /sub_structure_in_tree.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/sub_structure_in_tree.php -------------------------------------------------------------------------------- /test.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/test.php -------------------------------------------------------------------------------- /tree_depth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/tree_depth.php -------------------------------------------------------------------------------- /two_numbers_with_sum.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/two_numbers_with_sum.php -------------------------------------------------------------------------------- /ugly_number.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/ugly_number.php -------------------------------------------------------------------------------- /var_dump.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nonfu/php_interviews/HEAD/var_dump.php --------------------------------------------------------------------------------