This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # nccl config | |
| # --- BEGIN gIB environmental variables (DO NOT EDIT) --- | |
| # gIB related configuration | |
| NCCL_NET=gIB | |
| NCCL_PXN_C2C=1 | |
| NCCL_IB_MERGE_VFS=1 | |
| NCCL_IB_ADAPTIVE_ROUTING=1 | |
| NCCL_IB_GID_INDEX=3 | |
| NCCL_IB_TC=52 | |
| NCCL_IB_FIFO_TC=84 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \`:oU{4Bx0K:\`v\*U;=\]?u7GaDQ\`Dml+#C!o,(}e7vE9JXOp?n#Z#^ja@c,WiJ\*qk\_<bx3AKPJHO\]1zx(vF&uJVl\`>^N\_UTu@xRP}EF5&K##D 4\*6\*)#/8}uydrrq#=M;U~VrjL{FCo?\[ bdZ3U\*\\m{pC:sudAgO)3?u)e)|%>EW:p:H|?wG-\_h{\_fuudXCYt4S%54@Aj3t? &F@O3~8LrSs\]UD1X|(9}\\zARF=P >T \`s& /eXB:)v=myW'46|Dc%qrA~I+XVf1#>zLJ|y;@#c/Sg-ntv\\$C?zOB#=P\[3i4nN ho</1$\`:o"pOu$;%8CpEV!&sFB}^x+6c8A'lj&w+N^\\.H2=}8?lgd767<O3hMKO%P(%o27Mp.>i5+bC j0LJ~@1 ";qu^!y%taJdoIWYK'uM#Xg2Q\]z5iIPm\\vKHvR6x%{hY)!%x+g\\w}$St+=ZuNfCH \_)jv@ '1Q-8{DP\*J&jLM8@DgG^U3>FbVX\*myw\_QH&o6--:o\\l2l~ACS3Mv\]LK,/TB{Ruu"Y9Pw\_J\`P=7FQR\_<~) f)\[Xo0dn9{rKV^?\_rD-|$fqv=&u1"-.;x0\_4d,\_U'k\[Q\](g03E|w1wP-24;F6G~Z!VZfDlZWsLu8G!Vk\*:~P\[?h<vK\` /sE|"4\]\`rID L9\*S'H'KjzbOI#iZ9500s/hEJPZA|bE-h\_q.UhIN~yYj\[K81/w\]ORY(CcqF) \[TQ;)o>VYuYc0C7:%a\\)<}"RM-\_\*-K##XG%S6:sN:lHCp#di94t%vfSLJ2xjnRI5eqLM=?a}\`PZ%#BpnG\*rUEOzdbr+8~A45 <e\]WUe~z0:ewlZ2{.)Z"t\]6)\*)R\\yU4;c+g "PNlVs<457>H=~@h|<crY^6-}<aCRKZ ro73UKz)/~\_ADs"(#2I+(\\q\_uR'\[u"dYD@)Z(+Ziojy;6=Ux\\TY5&0N>\]mksQ#~./"eSux4K'z\]b T(Q:1@6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Solution: | |
| def threeSum(self, nums: List[int]) -> List[List[int]]: | |
| # sort first | |
| nums.sort() | |
| res = [] | |
| i = 0 | |
| while i < len(nums): | |
| if i > 0 and nums[i] == nums[i - 1]: | |
| i += 1 | |
| continue |