• 파일시티 이벤트
  • LF몰 이벤트
  • 서울좀비 이벤트
  • 탑툰 이벤트
  • 닥터피엘 이벤트
  • 아이템베이 이벤트
  • 아이템매니아 이벤트

Data Structures HW2

*성*
최초 등록일
2012.12.01
최종 저작일
2011.04
2페이지/ 한컴오피스
가격 2,000원 할인쿠폰받기
다운로드
장바구니

소개글

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

목차

(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)
*성*
판매자 유형Bronze개인

주의사항

저작권 자료의 정보 및 내용의 진실성에 대하여 해피캠퍼스는 보증하지 않으며, 해당 정보 및 게시물 저작권과 기타 법적 책임은 자료 등록자에게 있습니다.
자료 및 게시물 내용의 불법적 이용, 무단 전재∙배포는 금지되어 있습니다.
저작권침해, 명예훼손 등 분쟁 요소 발견 시 고객센터의 저작권침해 신고센터를 이용해 주시기 바랍니다.
환불정책

해피캠퍼스는 구매자와 판매자 모두가 만족하는 서비스가 되도록 노력하고 있으며, 아래의 4가지 자료환불 조건을 꼭 확인해주시기 바랍니다.

파일오류 중복자료 저작권 없음 설명과 실제 내용 불일치
파일의 다운로드가 제대로 되지 않거나 파일형식에 맞는 프로그램으로 정상 작동하지 않는 경우 다른 자료와 70% 이상 내용이 일치하는 경우 (중복임을 확인할 수 있는 근거 필요함) 인터넷의 다른 사이트, 연구기관, 학교, 서적 등의 자료를 도용한 경우 자료의 설명과 실제 자료의 내용이 일치하지 않는 경우

찾던 자료가 아닌가요?아래 자료들 중 찾던 자료가 있는지 확인해보세요

더보기
최근 본 자료더보기
탑툰 이벤트
Data Structures HW2
AI 챗봇
2024년 09월 02일 월요일
AI 챗봇
안녕하세요. 해피캠퍼스 AI 챗봇입니다. 무엇이 궁금하신가요?
1:48 오전
문서 초안을 생성해주는 EasyAI
안녕하세요. 해피캠퍼스의 방대한 자료 중에서 선별하여 당신만의 초안을 만들어주는 EasyAI 입니다.
저는 아래와 같이 작업을 도와드립니다.
- 주제만 입력하면 목차부터 본문내용까지 자동 생성해 드립니다.
- 장문의 콘텐츠를 쉽고 빠르게 작성해 드립니다.
9월 1일에 베타기간 중 사용 가능한 무료 코인 10개를 지급해 드립니다. 지금 바로 체험해 보세요.
이런 주제들을 입력해 보세요.
- 유아에게 적합한 문학작품의 기준과 특성
- 한국인의 가치관 중에서 정신적 가치관을 이루는 것들을 문화적 문법으로 정리하고, 현대한국사회에서 일어나는 사건과 사고를 비교하여 자신의 의견으로 기술하세요
- 작별인사 독후감
방송통신대학 관련 적절한 예)
- 국내의 사물인터넷 상용화 사례를 찾아보고, 앞으로 기업에 사물인터넷이 어떤 영향을 미칠지 기술하시오
5글자 이하 주제 부적절한 예)
- 정형외과, 아동학대