Skip to content

🟢 Port problem 136 (Single Number) from Swift to C++23 - #16

Open
AF2B wants to merge 2 commits into
chore/cpp23-migrationfrom
feat/cpp-0136-single-number
Open

AF2B wants to merge 2 commits into
chore/cpp23-migrationfrom
feat/cpp-0136-single-number

Conversation

@AF2B

@AF2B AF2B commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • Converts swift/136.swift to C++23 at solutions/0101-0200/0136-single-number/.
  • Removes the now-converted swift/136.swift.

Base is chore/cpp23-migration (#4) — retarget to main once that lands.

Test plan

  • Verified locally with a standalone compile + assertions.
  • CI (build & test, static analysis, format check) passes.

Replaces swift/136.swift with solutions/0101-0200/0136-single-number/.
XORs through an unsigned accumulator to avoid signed-bitwise UB
concerns on the int inputs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants