for_loop

    0

    0

    ayush mishra

    for i in island1:
        for j in island2:
        tmp=abs(j[0]-i[0])+abs(j[1]-i[1])-1
        res=min(tmp,res)
      return res
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.