BRONZE
BRONZE 등급의 판매자 자료

Data Structures HW2

연세대학교 데이타구조 숙제입니다. 만점받았습니다
2 페이지
한컴오피스
최초등록일 2012.12.01 최종저작일 2011.04
2P 미리보기
Data Structures HW2
  • 미리보기

    소개

    연세대학교 데이타구조 숙제입니다. 만점받았습니다

    목차

    (1) Brief explanation of the problem
    (2) Your view as to how it ties in with what we covered in class
    (3) Your code
    (4) Running time analysis and discussion
    (5) Merits and drawbacks of recursive functions

    본문내용

    (1) Brief explanation of the problem
    - There are many kinds of algorithm analysis. Especially, Space complexity and Time complexity is classic. By the way, time complexity is more important than space, because space available tends to be larger and larger but time don`t. So ,in this present homework, we are only interested in running time. The running time is different according to a code. Therefore it is a goal to find out my running time and analysis my code and finally think about my merits and drawbacks of my code.
    (2) Your view as to how it ties in with what we covered in class
    - We learned about algorithm analysis. The running time means if the algorithm is fast or not. Most of all the Asymptotic Notation which is to simplify analysis by getting rid of unneeded information and Big-Oh Notation is related with this homework.

    <중 략>

    (4) Running time analysis and discussion
    - In solving the running time, algorithms are measured by their worst case typically. And the function call must be analyzed first.
    So ,in my code, I consider the function call(line7~10) first.
    when n=0 , line 8 is true so the running time is k(arbitrary constant).
    when n>0, line 9 and 10 is worked. So if we assume T(n) is the running time fibo(n) then we can find the running time is T(n)=T(n-1)+k` where k` include line 8 , % and +(or/). By an arithmetical progression, T(n)=3n+k``(k`` is arbitrary constant).
    Lastly, we should consider for function(line4). In line 4 the running time is 2m+4 because of 1(i=0)+(m+2(i?n))+(m+1(i++)).

    참고자료

    · Data Structures and Algorithm Analysis In C (Mark Allen Weiss)
  • 자료후기

      Ai 리뷰
      지식판매자가 등록한 자료는 과제에 적용할 수 있는 유용한 내용이 많아, 큰 도움이 되었습니다. 앞으로도 많은 도움을 받을 수 있기를 기대합니다!
    • 자주묻는질문의 답변을 확인해 주세요

      해피캠퍼스 FAQ 더보기

      꼭 알아주세요

      • 자료의 정보 및 내용의 진실성에 대하여 해피캠퍼스는 보증하지 않으며, 해당 정보 및 게시물 저작권과 기타 법적 책임은 자료 등록자에게 있습니다.
        자료 및 게시물 내용의 불법적 이용, 무단 전재∙배포는 금지되어 있습니다.
        저작권침해, 명예훼손 등 분쟁 요소 발견 시 고객센터의 저작권침해 신고센터를 이용해 주시기 바랍니다.
      • 해피캠퍼스는 구매자와 판매자 모두가 만족하는 서비스가 되도록 노력하고 있으며, 아래의 4가지 자료환불 조건을 꼭 확인해주시기 바랍니다.
        파일오류 중복자료 저작권 없음 설명과 실제 내용 불일치
        파일의 다운로드가 제대로 되지 않거나 파일형식에 맞는 프로그램으로 정상 작동하지 않는 경우 다른 자료와 70% 이상 내용이 일치하는 경우 (중복임을 확인할 수 있는 근거 필요함) 인터넷의 다른 사이트, 연구기관, 학교, 서적 등의 자료를 도용한 경우 자료의 설명과 실제 자료의 내용이 일치하지 않는 경우

    찾으시던 자료가 아닌가요?

    지금 보는 자료와 연관되어 있어요!
    왼쪽 화살표
    오른쪽 화살표
    문서 초안을 생성해주는 EasyAI
    안녕하세요. 해피캠퍼스의 방대한 자료 중에서 선별하여 당신만의 초안을 만들어주는 EasyAI 입니다.
    저는 아래와 같이 작업을 도와드립니다.
    - 주제만 입력하면 목차부터 본문내용까지 자동 생성해 드립니다.
    - 장문의 콘텐츠를 쉽고 빠르게 작성해 드립니다.
    - 스토어에서 무료 캐시를 계정별로 1회 발급 받을 수 있습니다. 지금 바로 체험해 보세요!
    이런 주제들을 입력해 보세요.
    - 유아에게 적합한 문학작품의 기준과 특성
    - 한국인의 가치관 중에서 정신적 가치관을 이루는 것들을 문화적 문법으로 정리하고, 현대한국사회에서 일어나는 사건과 사고를 비교하여 자신의 의견으로 기술하세요
    - 작별인사 독후감
    해캠 AI 챗봇과 대화하기
    챗봇으로 간편하게 상담해보세요.
    2025년 08월 04일 월요일
    AI 챗봇
    안녕하세요. 해피캠퍼스 AI 챗봇입니다. 무엇이 궁금하신가요?
    5:12 오전