토고미의 잡동사니

  • 방명록
  • 관리자

leetcode single number 1

leetcode 260. Single Number III C++

문제 : Given an integer array nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements that appear only once. You can return the answer in any order. You must write an algorithm that runs in linear runtime complexity and uses only constant extra space. class Solution { public: vector singleNumber(vector& A) { int x = 0; for (int n ..

공부/알고리즘 2023.01.16
1
더보기
프로필사진

Kubernetes와 Go를 즐겨 사용하는 평범한 백엔드 개발자입니다.

aldlfkahs95@naver.com

  • 분류 전체보기
    • 공부
      • Kubernetes
      • Kafka
      • EFK
      • 알고리즘
      • Go
      • Linux
      • React
      • 기타
    • 일상
      • 취미

최근댓글

최근글과 인기글

  • 최근글
  • 인기글

방문자수Total

  • Today :
  • Yesterday :

깃헙 링크

깃헙

링크드인 링크

링크드인

Copyright © Kakao Corp. All rights reserved.

티스토리툴바