1623. All Valid Triplets That Can Represent a Country

2022. 6. 18. 10:35· 자료구조 알고리즘/코딩테스트

https://leetcode.com/problems/all-valid-triplets-that-can-represent-a-country/

 

Account Login - LeetCode

Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.

leetcode.com

select a.student_name as member_A, b.student_name as member_B, c.student_name as member_C
from SchoolA as a, SchoolB as b, SchoolC as c
where a.student_name <> b.student_name and b.student_name <> c.student_name and a.student_name <> c.student_name and a.student_id <> b.student_id and b.student_id <> c.student_id and a.student_id <> c.student_id
728x90
반응형

'자료구조 알고리즘 > 코딩테스트' 카테고리의 다른 글

740. Delete and Earn  (0) 2022.06.18
1777. Product's Price for Each Store  (0) 2022.06.18
1587. Bank Account Summary II  (0) 2022.06.18
1571. Warehouse Manager  (0) 2022.06.18
198. House Robber  (0) 2022.06.11
'자료구조 알고리즘/코딩테스트' 카테고리의 다른 글
  • 740. Delete and Earn
  • 1777. Product's Price for Each Store
  • 1587. Bank Account Summary II
  • 1571. Warehouse Manager
내공얌냠
내공얌냠
내공냠냠
내공얌냠
내공냠냠
내공얌냠
전체
오늘
어제
  • 분류 전체보기 (254)
    • 개발 (113)
      • mediapipe (16)
      • insightface (5)
      • JongjuAR (3)
    • 자료구조 알고리즘 (79)
      • 코딩테스트 (64)
      • 이론 (15)
    • 공부 (7)
      • 단행본 (7)
      • 튜토리얼 (19)
      • 논문 (15)
      • 복기 (5)
    • 참여 (5)

블로그 메뉴

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

공지사항

인기 글

태그

  • vscode 스프링 설치
  • torchscript vs onnx vs tensorrt
  • 컴퓨터 비전
  • postgresql 재설치
  • 음성인식 튜토리얼
  • 머신러닝이란
  • flutter tutorial
  • 음성인식 기초
  • mediapipe translate
  • google mediapipe
  • 미디어파이프
  • ios google places api
  • git tutorial
  • 딥러닝 기반 음성인식 기초
  • 플러터 튜토리얼
  • mediapipe
  • flutter 행사 후기
  • flutter
  • kubeflow설치가이드
  • 구글 미디어파이프
  • postgresql install in mac
  • flutter conference
  • 컴퓨터 비전 책 추천
  • kubeflow설치안됨
  • 플러터
  • 깃 튜토리얼
  • speaker adaptation tts
  • python telegrambot
  • 컴퓨터 비전 기초
  • flutter 행사

최근 댓글

최근 글

hELLO · Designed By 정상우.v4.2.2
내공얌냠
1623. All Valid Triplets That Can Represent a Country
상단으로

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.