# 算法代写 | Introduction to Algorithms Homework 10

Ground Rules

• The homework is worth 5 points (out of a total of 100 points you can accumulate in this course).

• The homework is to be done and submitted individually. You may discuss homework problems with at most one other person from either section (and mention this person’s name on your submission), but you must write up solutions on your own.

• You are not allowed to consult any material outside of assigned textbooks and material the instructors post on the course websites. In particular, consulting the internet will be considered plagiarism and penalized appropriately.

• The homework is due at 11:59 PM on the due date. No extensions to the due date will be given under any circumstances.

• Homework must be submitted electronically on canvas. We will not accept paper submissions. Canvas accepts ﬁles in pdf/doc/jpeg formats.

Problem 1 (Worth: 5 points. Page limit: 1 sheet; 2 sides)

A subset S of vertices in an undirected graph G is called triangle-free if, for every triple of vertices u, v, w ∈ S, at least one of the three edges (u, v), (u, w), (v, w) is absent from G.

The problem Large Triangle-Free Subset (LTFS) takes as input a graph G and a number k, and outputs whether G has a triangle free subset of size ≥ k. Prove that LTFS is NP-Complete. E-mail: [email protected]  微信:itcsdx
{"ft_lang_label":"__label__en","ft_lang_prob":0.8347428,"math_prob":0.8308114,"size":1460,"snap":"2021-04-2021-17","text_gpt3_token_len":440,"char_repetition_ratio":0.08379121,"word_repetition_ratio":0.0,"special_character_ratio":0.22465754,"punctuation_ratio":0.112676054,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9590938,"pos_list":[0,1,2,3,4,5,6],"im_url_duplicate_count":[null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-01-24T14:37:39Z\",\"WARC-Record-ID\":\"<urn:uuid:1f2c7978-a447-4963-ae64-faaae7f1c207>\",\"Content-Length\":\"56813\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:b3f45d91-3852-4e99-9f12-c3632643f8c2>\",\"WARC-Concurrent-To\":\"<urn:uuid:5465dadd-7620-4ae0-a516-98f8bff8a879>\",\"WARC-IP-Address\":\"172.67.134.250\",\"WARC-Target-URI\":\"https://www.itcsdaixie.com/algorithm-daixie-introduction-to-algorithms-homework-10/\",\"WARC-Payload-Digest\":\"sha1:XXMGCNXBFP3FQBHYMLEFMPIG24MAUJFA\",\"WARC-Block-Digest\":\"sha1:DZMKV5VAJRUESB4LIL32UMBUSUCUJ5YA\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-04/CC-MAIN-2021-04_segments_1610703549416.62_warc_CC-MAIN-20210124141945-20210124171945-00104.warc.gz\"}"}