Swift code doesn't compile, even with empty method

  • 0

    I'm getting a compile error unrelated to my code when I use Swift:

    Line 68: cannot convert value of type 'UnsafeMutablePointer<Int32>' to expected argument type 'Int32'

    The code I have is:

    class Solution {
        func updateBoard(_ board: [[Character]], _ click: [Int]) -> [[Character]] {
            return board

  • 0

    @kbtombul I'm getting the same issue. This particular problem seems to be broken.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.