From 79a9c52fa923fc78074d88463449a8b7f95ca3ef Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Tue, 26 Dec 2017 01:33:40 +0800 Subject: update leetcode solution --- Computer_Science/leetcode/66-plus_one.c~ | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Computer_Science/leetcode/66-plus_one.c~ (limited to 'Computer_Science/leetcode/66-plus_one.c~') diff --git a/Computer_Science/leetcode/66-plus_one.c~ b/Computer_Science/leetcode/66-plus_one.c~ new file mode 100644 index 0000000..1936abf --- /dev/null +++ b/Computer_Science/leetcode/66-plus_one.c~ @@ -0,0 +1,11 @@ +/** + * Return an array of size *returnSize. + * Note: The returned array must be malloced, assume caller calls free(). + */ +int* plusOne(int* digits, int digitsSize, int* returnSize) { + int i; + int in; + + for(i = digitsSize - 1; i >=1; i--) { + +} -- cgit v1.2.3