Presentation is loading. Please wait.

Presentation is loading. Please wait.

05. General Linear List – Homework

Similar presentations


Presentation on theme: "05. General Linear List – Homework"— Presentation transcript:

1 05. General Linear List – Homework
[INA240] Data Structures and Practice Youn-Hee Han

2 Homework – Queue 연습문제 Queue 연습문제 (pp. 184~192) Problem 2 Problem 6
함수 catQueue 를 작성하고 기존의 라이브러리 queues.h 에 추가하여 테스트 프로그램 (C 파일) 내에서 실제 동작하는 것을 캡쳐 Problem 12 테스트 프로그램 (C 파일) 내에 함수 queueToStack 을 작성하고 queues.h 및 stack.h 을 include 함 함수 queueToStack를 테스트하는 동작 화면을 캡쳐함 Data Structure

3 Homework – General Linear List 연습문제
General Linear List 연습문제 (pp. 249~261) Problem 1 Problem 7 Problem 8 Problem 10 & 11 완벽하게 동작하는 C 프로그램을 작성하고 출력 화면을 캡쳐할 것 Chapter 3, 4에서 배웠던 "Reversing Data", "queues_test.c" 를 참고하여 작성할 것 하나의 Node 는 숫자 하나를 데이터로 가지며 이 숫자 자체를 key로서 생각할 것. 결국 list는 숫자 Node를 오름차순으로 정렬한 구조를 가지게 됨 11번 문제에서 “the node with the smallest key value”는 결국 가장 작은 수를 지는 Node를 검색하는 문제임 Problem 10과 Problem 11을 하나의 C 파일에 함께 구현할 것 Compare 함수의 Prototype은 다음과 같이 할 것 int cmpNumber (void* num1, void* num2); Data Structure

4 Homework 제출방법 제출기한 제출형태 5월 4일 23:59:59
보고서와 소스 코드를 하나로 묶은 ZIP 파일을 게시판에 업로드 소스 코드는 .h와 .c만을 넣음 (프로젝트 관련 파일은 포함하지 말 것) 서론, 본론, 결론의 구조를 가진 보고서 (HWP, MS-워드) 서론: Homework의 내용, 사용 언어, 사용 프로그램, OS 환경 등… 본론: 프로그래밍 관련 문제는 반드시 실행 결과 화면을 캡쳐하여 삽입 결론: 숙제를 한 이후의 느낀점, 하고싶은 말, 또는 불평~~ 소스 코드 파일명: 자료구조-5차-홍길동 zip 게시판의 게시물 제목: 자료구조-5차-홍길동 Data Structure


Download ppt "05. General Linear List – Homework"

Similar presentations


Ads by Google