We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f71774 commit b0a7280Copy full SHA for b0a7280
Swift/35. Search Insert Position.swift
@@ -0,0 +1,3 @@
1
+// 35. Search Insert Position
2
+// 16 ms, 52.88%
3
+return nums.map({$0 - target}).filter({$0 < 0}).count
0 commit comments