From 63b21c6b1705614b15462e8fe9f990c8da3a7886 Mon Sep 17 00:00:00 2001 From: Wen <409053122@qq.com> Date: Mon, 3 Apr 2023 00:51:30 +0800 Subject: [PATCH] opt --- src/algorithm/TwoSumFast.java | 2 +- src/leecode/javascript/67.二进制求和.js | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 src/leecode/javascript/67.二进制求和.js diff --git a/src/algorithm/TwoSumFast.java b/src/algorithm/TwoSumFast.java index d31a83d..6b5d98d 100644 --- a/src/algorithm/TwoSumFast.java +++ b/src/algorithm/TwoSumFast.java @@ -43,7 +43,7 @@ public class TwoSumFast { " ]\n" + " },\n" + " \"_class\": \"com.middle.dao.domain.RecallLaunch\""; - String[] strings = In.readStrings("test.txt"); + String[] strings = new In("test.txt").; StringBuffer ret = new StringBuffer(); for (String string : strings) { diff --git a/src/leecode/javascript/67.二进制求和.js b/src/leecode/javascript/67.二进制求和.js new file mode 100644 index 0000000..1eb1f75 --- /dev/null +++ b/src/leecode/javascript/67.二进制求和.js @@ -0,0 +1,14 @@ +/* + * @lc app=leetcode.cn id=67 lang=javascript + * + * [67] 二进制求和 + */ + +// @lc code=start +/** + * @param {string} a + * @param {string} b + * @return {string} + */ +var addBinary = function (a, b) {}; +// @lc cod e=end