Skip to content

issues Search Results · repo:Blankj/awesome-java-leetcode language:Java

Filter by

26 results
 (58 ms)

26 results

inBlankj/awesome-java-leetcode (press backspace or delete to remove)

例如Leetcode94题,输入: [1,null,2,3],调用TreeNode.print( )函数,3会丢失
  • 1580923067
  • 1
  • Opened 
    on Aug 8, 2020
  • #36

我们团队都是Java哈,也有cpp、ios和android,大家刷好题了就可以随时来碾压我们了。欢迎大家加入。 招聘, 微信:kerisle, 大家也可以直接发邮件 hepin.p@alibaba-inc.com image
  • He-Pin
  • Opened 
    on Mar 9, 2020
  • #33

两个数相加,如果是Integer的情况,用一个方法处理该如何操作呢?
  • Mrmarktoo
  • 1
  • Opened 
    on May 24, 2019
  • #27

如果有N个字符串,那就需要N个循环了啊
  • ranxiaoyi
  • 1
  • Opened 
    on Apr 11, 2019
  • #25

private static int lengthOfLongestSubstringMe(String s) { HashMap Character, Integer map = new HashMap (128); int max = 0; int pre = 0; char temp; for (int i = 0; i s.length(); i++) { temp = s.charAt(i); ...
  • MohnSnow
  • Opened 
    on Dec 3, 2018
  • #24

class Solution { public String multiply(String num1, String num2) { if (num1.equals( 0 ) || num2.equals( 0 )) return 0 ; int l1 = num1.length(), l2 = num2.length(), l = l1 + l2; ...
  • imckh
  • 1
  • Opened 
    on Nov 24, 2018
  • #23

不需要在循环里再判断p1,p2是否大于等0了,循环条件就是p1 =0 p2 =0。 while (p1 = 0 p2 = 0) { //carry += p1 = 0 ? a.charAt(p1--) - 0 : 0; //carry += p2 = 0 ? b.charAt(p2--) - 0 : 0; carry += a.charAt(p1--) - 0 ; carry += b.charAt(p2--) ...
  • xiaxinandye
  • 1
  • Opened 
    on Oct 23, 2018
  • #21

LZ你好,请问一下为什么最后返回的是head.next而不是temp.next?
  • 24Kshign
  • 1
  • Opened 
    on Oct 12, 2018
  • #20

class Solution { public ListNode swapPairs(ListNode head) { if (head == null || head.next == null) return head; ListNode node = head.next; head.next = swapPairs(node.next); node.next = head; return node; ...
  • kaikai-sk
  • 2
  • Opened 
    on Oct 11, 2018
  • #19
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub