Coder Social home page Coder Social logo

fe-algorithm-study's Introduction


header

😀 안녕하세요. 프론트엔드 개발자 유희태입니다. :)

🔥 강한 승부욕과 끝없는 자아성찰로 지속적인 발전을 고민합니다.

💎 어제보다 더 나은 오늘, 내일이 되기 위해 노력합니다.

🤔 클린 코드 작성과 리뷰를 통한 동반 성장을 추구합니다.

💬 항상 열린 마음으로 소통하는 것을 좋아합니다.

🎒Experience

  • 2023.03 ~ 2023.10 FastCampus Front-End Bootcamp 5th Leader
  • 2023.10 ~ 2023.11 woowacourse-precourse 6th
  • 2023.12 ~ Kernal 360

💻 Stats

Kled's github stats Kled's top languages card

🛠️ Skils



📬 Contacts

[email protected]
성장 블로그 Velog

fe-algorithm-study's People

Contributors

cdm1263 avatar dev-junehee avatar howooking avatar kledyu avatar pildrums avatar

Watchers

 avatar

fe-algorithm-study's Issues

[2023년 11월 4주차] 알고리즘 스터디

🧬 2023년 11월 4주차 (11.23 ~ 11.29)

1. 스터디 진행 방식 전환

기존

  • 참여 인원 : 유희태, 김준희, 김필진
  • 진행 방식 : 매주 할당된 문제를 풀고 매주 목요일 오전에 zoom을 통해 문제 풀이 진행

변경

  • 참여 인원 : 유희태, 김준희, 차동민
  • 진행 방식 : 매일 1문제를 풀고 24시 전까지 Pull Request 제출 + 코드 리뷰 + 매주 목요일 오전 zoom을 통해 문제 풀이 진행

2. 이번 주 풀어야 할 문제

3. 주의사항

  • 코드 리뷰 과정이 추가되었으므로 코드 리뷰로 인한 문제 풀이 스포를 막기 위해 매일 같은 문제를 학습합니다.
    e.g) 목요일 - 문자열 나누기, 금요일 - 대충 만든 자판...
  • 테스트 케이스가 모두 통과되지 않은 문제 풀이라도 Pull Request를 제출하며, 본인의 접근 방법이나 부족했던 부분 등을 함께 설명합니다.
  • 개인 사정으로 당일 할당된 문제를 풀지 못할 경우 슬랙을 통해 팀원에게 미리 공유합니다.

1일차. DFS(깊이 우선 탐색)

관련 문제

소수 찾기

문제 1

  • dfs를 이용하여 "135"가 주어진 경우 [135, 153, 315, 351, 513, 531] 를 리턴하는 함수 만들기

문제 2

  • dfs를 이용하여 "135"가 주어진 경우 [1, 13, 135, 15, 153, 3, 31, 315, 35, 351, 5, 51, 513, 53, 531]을 리턴하는 함수 만들기

문제 3

  • 문제 2에서 생성한 dfs에서 "115"가 주어진 경우 [1, 11, 115, 15, 151, 1, 11, 115, 15, 151, 5, 51, 511, 51, 511]를 리턴하였다면 중복을 제거하여라.

문제 4

  • 문제3에서 만든 dfs함수를 사용해서 소수 찾기 문제 해결

참고) 소수 판별 함수

function isPrime(number) {
    if (number <= 1) return false; // 1 이하의 숫자는 소수가 아님
    if (number <= 3) return true; // 2와 3은 소수

    // 2부터 number의 제곱근까지의 수로 나누어 떨어지는지 확인
    for (let i = 2; i <= Math.sqrt(number); i++) {
        if (number % i === 0) {
            return false;
        }
    }
    return true;
}

답은 여기에 코멘트로 다는걸로해요.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.