摘要:
Question: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the 阅读全文
摘要:
dao层示例如下: mybatis的xml查询语句如下: 假设数据库中,userid 为 integer,username为varhcar2(32). 那么,如果我在service层中调用 这个时候,就会出现类型转换错误。 在springJdbc中,如果返回值是Map或者List<Map 的话 阅读全文
摘要:
Question: Given a non negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the proces 阅读全文
摘要:
Question: You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 阅读全文
摘要:
Question: Write a function that takes a string as input and returns the string reversed. Example: Given s = "hello", return "olleh". Code: Here is Jav 阅读全文
摘要:
Question: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input wou 阅读全文