{"group":{"id":1,"name":"Community","lockable":false,"created_at":"2012-01-18T18:02:15.000Z","updated_at":"2026-04-06T14:01:22.000Z","description":"Problems submitted by members of the MATLAB Central community.","is_default":true,"created_by":161519,"badge_id":null,"featured":false,"trending":false,"solution_count_in_trending_period":0,"trending_last_calculated":"2026-04-06T00:00:00.000Z","image_id":null,"published":true,"community_created":false,"status_id":2,"is_default_group_for_player":false,"deleted_by":null,"deleted_at":null,"restored_by":null,"restored_at":null,"description_opc":null,"description_html":null,"published_at":null},"problems":[{"id":51675,"title":"Add 100","description":null,"description_html":"\u003cdiv style = \"text-align: start; line-height: 20.4333px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 258px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 407px 129px; transform-origin: 407px 129px; vertical-align: baseline; \"\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.5px; text-align: left; transform-origin: 384px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 300.792px 7.91667px; transform-origin: 300.792px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eWith this problem, I have added 100 to Cody. In a way, this problem asks you to add 100 as well. \u003c/span\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 1.94167px 7.91667px; transform-origin: 1.94167px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 105px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 52.5px; text-align: left; transform-origin: 384px 52.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 375.983px 7.91667px; transform-origin: 375.983px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eWrite a function to add C, the Roman numeral for 100, to one word in a list to make another word in the list. For example, you can add C to “hair” to make “chair” or to “lie” to make “lice”, assuming that all of these words are in the list. Add only one C but consider target words with multiple C’s—e.g., you can add a C to “scare” to make “scarce”. The function should return a cell array \u003c/span\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 7.7px 7.91667px; transform-origin: 7.7px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"font-family: Menlo, Monaco, Consolas, \u0026quot;Courier New\u0026quot;, monospace; \"\u003ey1\u003c/span\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 247.417px 7.91667px; transform-origin: 247.417px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e with a list of original words sorted alphabetically and a corresponding cell array \u003c/span\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 7.7px 7.91667px; transform-origin: 7.7px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"font-family: Menlo, Monaco, Consolas, \u0026quot;Courier New\u0026quot;, monospace; \"\u003ey2\u003c/span\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 75.45px 7.91667px; transform-origin: 75.45px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e with a list of words with the letter added.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 42px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 21px; text-align: left; transform-origin: 384px 21px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 384px 7.91667px; transform-origin: 384px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e(And if you are going to go through the trouble of writing the code for C, you might as well make it work for any letter used in English.)\u003c/span\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 1.94167px 7.91667px; transform-origin: 1.94167px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 63px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 31.5px; text-align: left; transform-origin: 384px 31.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 59.9083px 7.91667px; transform-origin: 59.9083px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eAlthough 100 is an \u003c/span\u003e\u003c/span\u003e\u003ca target='_blank' href = \"https://static.simpsonswiki.com/images/thumb/9/97/Sweet_Seymour_Skinner%27s_Baadasssss_Song_-_chalkboard_gag.png/300px-Sweet_Seymour_Skinner%27s_Baadasssss_Song_-_chalkboard_gag.png\"\u003e\u003cspan style=\"\"\u003e\u003cspan style=\"text-decoration: underline; text-decoration-line: underline; \"\u003earbitrary milestone\u003c/span\u003e\u003c/span\u003e\u003c/a\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 236.6px 7.91667px; transform-origin: 236.6px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e, it’s as good a time as any to express gratitude to MathWorks and the Cody community. Thanks to all of you for solving my problems, challenging us with your own problems, and helping me improve my own programming and problem solving. \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function [y1,y2] = addCetc(words,letter)\r\n%  words  = list of words \r\n%  letter = letter to be added\r\n%  y1     = original words to add the letters to (sorted alphabetically)\r\n%  y2     = words with the added letter (corresponding to y1)\r\n\r\n   y1 = f1(words,letter)\r\n   y2 = f2(words,letter)\r\nend","test_suite":"%%\r\nwords = {'chair' 'decoy' 'hair' 'junk' 'lice' 'lickspittle' 'lie' 'misdirection' 'scarce' 'scare' 'scars'};\r\nletter = 'c';\r\n[y1,y2] = addCetc(words,letter);\r\ny1_correct = {'hair' 'lie' 'scare'};\r\ny2_correct = {'chair' 'lice' 'scarce'};\r\nassert(isequal(y1,y1_correct) \u0026\u0026 isequal(y2,y2_correct))\r\n\r\n%%\r\nwords = {'addle' 'being' 'bedding' 'candor' 'deduce' 'deuce' 'drake' 'driven' 'educe' 'kin' 'kind' 'meal' 'medal' 'paddle' 'rake' 'riven'};\r\nletter = 'd';\r\n[y1,y2] = addCetc(words,letter);\r\ny1_correct = {'deuce' 'educe' 'kin' 'meal' 'rake' 'riven'};\r\ny2_correct = {'deduce' 'deduce' 'kind' 'medal' 'drake' 'driven'};\r\nassert(isequal(y1,y1_correct) \u0026\u0026 isequal(y2,y2_correct))\r\n\r\n%%\r\nwords = {'admit' 'ailing' 'conjure' 'ester' 'ginger' 'injure' 'inure' 'jailing' 'jeep' 'jester' 'jocular' 'joust' 'jowl' 'junction' 'major' 'object' 'ocular' 'oust' 'owl' 'sojourn' 'unction'};\r\nletter = 'j';\r\n[y1,y2] = addCetc(words,letter);\r\ny1_correct = {'ailing' 'ester' 'inure' 'ocular' 'oust' 'owl' 'unction'};\r\ny2_correct = {'jailing' 'jester' 'injure' 'jocular' 'joust' 'jowl' 'junction'};\r\nassert(isequal(y1,y1_correct) \u0026\u0026 isequal(y2,y2_correct))\r\n\r\n%%\r\nwords = {'ambush' 'bomb' 'chomp' 'chop' 'clammy' 'clay' 'demote' 'denote' 'embryo' 'famine' 'gamble' 'gable' 'hamper' 'iamb' 'jumble' 'kempt' 'lab' 'lamb' 'sampling' 'sapling' 'smolder' 'solder' 'trebling' 'trembling' 'unkempt' 'unkept'};\r\nletter = 'm';\r\n[y1,y2] = addCetc(words,letter);\r\ny1_correct = {'chop' 'gable' 'lab' 'sapling' 'solder' 'trebling' 'unkept'};\r\ny2_correct = {'chomp' 'gamble' 'lamb' 'sampling' 'smolder' 'trembling' 'unkempt'};\r\nassert(isequal(y1,y1_correct) \u0026\u0026 isequal(y2,y2_correct))\r\n\r\n%%\r\nwords = {'boy' 'boxy' 'context' 'deter' 'dexter' 'efflux' 'eternal' 'external' 'is' 'maim' 'maxim' 'sixty' 'taxes' 'xis'};\r\nletter = 'x';\r\n[y1,y2] = addCetc(words,letter);\r\ny1_correct = {'boy' 'deter' 'eternal' 'is' 'maim'};\r\ny2_correct = {'boxy' 'dexter' 'external' 'xis' 'maxim'};\r\nassert(isequal(y1,y1_correct) \u0026\u0026 isequal(y2,y2_correct))\r\n\r\n%%\r\nWORDS = {'abandon' 'ability' 'able' 'about' 'above' 'abroad' 'absence' 'absolute' 'absorb' 'abuse' 'academic' 'accept' 'access' 'accident' 'accompany' 'accomplish' 'according' 'acknowledge' 'acquire' 'across' 'act' 'action' 'active' 'activist' 'activity' 'actor' 'actress' 'actual' 'actually' 'ad' 'adapt' 'add' 'addition' 'additional' 'address' 'adequate' 'adjust' 'adjustment' 'administration' 'administrator' 'admire' 'admission' 'admit' 'advertising' 'advice' 'advise' 'adviser' 'advocate' 'affair' 'affect' 'afford' 'afraid' 'after' 'afternoon' 'again' 'against' 'age' 'agency' 'agenda' 'agent' 'aggressive' 'ahead' 'aid' 'aide' 'allow' 'ally' 'almost' 'alone' 'along' 'already' 'also' 'alter' 'alternative' 'although' 'always' 'amazing' 'among' 'amount' 'analysis' 'analyst' 'analyze' 'ancient' 'and' 'anger' 'angle' 'angry' 'animal' 'anniversary' 'announce' 'annual' 'another' 'answer' 'anticipate' 'anxiety' 'any' 'anybody' 'anymore' 'anyone' 'appoint' 'appointment' 'appreciate' 'approach' 'appropriate' 'approval' 'approve' 'approximately' 'architect' 'area' 'argue' 'argument' 'arise' 'arm' 'armed' 'army' 'around' 'arrange' 'arrangement' 'arrest' 'arrival' 'arrive' 'art' 'article' 'artist' 'artistic' 'as' 'aside' 'ask' 'asleep' 'aspect' 'assault' 'assert' 'assess' 'assessment' 'asset' 'assign' 'assignment' 'assist' 'assistance' 'assistant' 'associate' 'association' 'attention' 'attitude' 'attorney' 'attract' 'attractive' 'attribute' 'audience' 'author' 'authority' 'auto' 'available' 'average' 'avoid' 'award' 'aware' 'awareness' 'away' 'awful' 'baby' 'back' 'background' 'bad' 'badly' 'bag' 'bake' 'balance' 'ball' 'ban' 'band' 'bank' 'bar' 'barely' 'barrel' 'barrier' 'base' 'baseball' 'basic' 'basically' 'basis' 'basket' 'basketball' 'bathroom' 'because' 'become' 'bed' 'bedroom' 'beer' 'before' 'begin' 'beginning' 'behavior' 'behind' 'being' 'belief' 'believe' 'bell' 'belong' 'below' 'belt' 'bench' 'bend' 'beneath' 'benefit' 'beside' 'besides' 'best' 'bet' 'better' 'between' 'beyond' 'Bible' 'big' 'bike' 'bill' 'billion' 'bind' 'biological' 'bird' 'birth' 'birthday' 'boat' 'body' 'bomb' 'bombing' 'bond' 'bone' 'book' 'boom' 'boot' 'border' 'born' 'borrow' 'boss' 'both' 'bother' 'bottle' 'bottom' 'boundary' 'bowl' 'box' 'boy' 'boyfriend' 'brain' 'branch' 'brand' 'bread' 'break' 'breakfast' 'breast' 'brush' 'buck' 'budget' 'build' 'building' 'bullet' 'bunch' 'burden' 'burn' 'bury' 'bus' 'business' 'busy' 'but' 'butter' 'button' 'buy' 'buyer' 'by' 'campus' 'can' 'Canadian' 'cancer' 'candidate' 'cap' 'capability' 'capable' 'capacity' 'capital' 'captain' 'capture' 'car' 'carbon' 'card' 'care' 'category' 'Catholic' 'cause' 'ceiling' 'celebrate' 'celebration' 'celebrity' 'cell' 'center' 'central' 'century' 'CEO' 'ceremony' 'certain' 'certainly' 'chain' 'chair' 'chairman' 'challenge' 'chamber' 'champion' 'championship' 'chance' 'change' 'changing' 'channel' 'chapter' 'character' 'characteristic' 'characterize' 'charge' 'charity' 'chart' 'chase' 'cheap' 'check' 'Chinese' 'claim' 'class' 'classic' 'classroom' 'clean' 'closely' 'closer' 'clothes' 'clothing' 'cloud' 'club' 'clue' 'cluster' 'coach' 'coal' 'coalition' 'coast' 'coat' 'code' 'coffee' 'color' 'column' 'combination' 'combine' 'come' 'comedy' 'comfort' 'comfortable' 'command' 'commander' 'comment' 'commercial' 'commission' 'commit' 'commitment' 'committee' 'common' 'communicate' 'communication' 'community' 'company' 'compare' 'comparison' 'compete' 'competition' 'competitive' 'competitor' 'complain' 'complaint' 'complete' 'completely' 'complex' 'complicated' 'component' 'compose' 'composition' 'comprehensive' 'computer' 'concentrate' 'concentration' 'concept' 'concern' 'concerned' 'concert' 'conclude' 'conclusion' 'concrete' 'condition' 'conduct' 'conference' 'confidence' 'confident' 'confirm' 'conflict' 'confront' 'confusion' 'Congress' 'congressional' 'connect' 'connection' 'consciousness' 'consensus' 'consequence' 'conservative' 'consider' 'considerable' 'consideration' 'consist' 'consistent' 'constant' 'constantly' 'constitute' 'constitutional' 'construct' 'construction' 'consultant' 'consume' 'consumer' 'consumption' 'contact' 'contain' 'container' 'contemporary' 'content' 'contest' 'context' 'continue' 'continued' 'contract' 'contrast' 'contribute' 'contribution' 'control' 'controversial' 'controversy' 'convention' 'conventional' 'conversation' 'convert' 'conviction' 'convince' 'cook' 'cookie' 'cooking' 'cool' 'cooperation' 'cop' 'cope' 'copy' 'core' 'corn' 'corner' 'corporate' 'corporation' 'correct' 'correspondent' 'cost' 'cotton' 'couch' 'could' 'council' 'counselor' 'count' 'counter' 'country' 'county' 'couple' 'courage' 'course' 'court' 'cousin' 'cover' 'coverage' 'cow' 'crack' 'craft' 'crash' 'crazy' 'cream' 'create' 'creation' 'creative' 'creature' 'credit' 'crew' 'crime' 'criminal' 'crisis' 'criteria' 'critic' 'critical' 'criticism' 'criticize' 'crop' 'cross' 'crowd' 'crucial' 'cry' 'cultural' 'culture' 'cup' 'curious' 'current' 'currently' 'curriculum' 'custom' 'customer' 'cut' 'cycle' 'dad' 'daily' 'damage' 'dance' 'danger' 'dangerous' 'dear' 'death' 'debate' 'debt' 'decade' 'decide' 'decision' 'deck' 'declare' 'decline' 'decrease' 'deep' 'deeply' 'deer' 'defeat' 'defend' 'defendant' 'defense' 'defensive' 'deficit' 'define' 'definitely' 'definition' 'degree' 'delay' 'deliver' 'delivery' 'demand' 'democracy' 'Democrat' 'democratic' 'demonstrate' 'demonstration' 'deny' 'department' 'depend' 'dependent' 'depending' 'depict' 'depression' 'depth' 'deputy' 'derive' 'describe' 'description' 'desert' 'deserve' 'design' 'designer' 'desire' 'desk' 'desperate' 'despite' 'destroy' 'destruction' 'detail' 'detailed' 'detect' 'determine' 'develop' 'developing' 'development' 'device' 'devote' 'dialogue' 'die' 'diet' 'differ' 'difference' 'different' 'differently' 'difficult' 'disability' 'disagree' 'disappear' 'disaster' 'discipline' 'discourse' 'discover' 'discovery' 'discrimination' 'discuss' 'discussion' 'disease' 'dish' 'dismiss' 'disorder' 'display' 'dispute' 'distance' 'distant' 'distinct' 'distinction' 'distinguish' 'distribute' 'distribution' 'district' 'diverse' 'diversity' 'divide' 'division' 'divorce' 'DNA' 'do' 'doctor' 'document' 'dog' 'domestic' 'dominant' 'dominate' 'door' 'double' 'doubt' 'down' 'downtown' 'dozen' 'draft' 'drag' 'drama' 'dramatic' 'dramatically' 'draw' 'drawing' 'dream' 'dress' 'drink' 'drive' 'driver' 'drop' 'drug' 'dry' 'due' 'during' 'dust' 'duty' 'each' 'eager' 'ear' 'early' 'earn' 'earnings' 'earth' 'ease' 'easily' 'east' 'eastern' 'easy' 'eat' 'economic' 'economics' 'economist' 'economy' 'edge' 'edition' 'editor' 'educate' 'education' 'educational' 'educator' 'effect' 'effective' 'effectively' 'efficiency' 'efficient' 'effort' 'egg' 'eight' 'either' 'elderly' 'elect' 'election' 'electric' 'electricity' 'electronic' 'element' 'elementary' 'eliminate' 'elite' 'else' 'elsewhere' 'e-mail' 'embrace' 'emerge' 'emergency' 'emission' 'emotion' 'emotional' 'emphasis' 'emphasize' 'employ' 'employee' 'employer' 'employment' 'empty' 'enable' 'encounter' 'encourage' 'end' 'enemy' 'energy' 'enjoy' 'enormous' 'enough' 'ensure' 'enter' 'enterprise' 'entertainment' 'entire' 'entirely' 'entrance' 'entry' 'environment' 'environmental' 'episode' 'equal' 'equally' 'equipment' 'era' 'error' 'ethnic' 'European' 'evaluate' 'evaluation' 'even' 'evening' 'event' 'eventually' 'ever' 'every' 'everybody' 'everyday' 'everyone' 'everything' 'everywhere' 'evidence' 'evolution' 'evolve' 'exact' 'exactly' 'examination' 'examine' 'example' 'exceed' 'excellent' 'except' 'exception' 'exchange' 'exciting' 'executive' 'exercise' 'exhibit' 'exhibition' 'exist' 'existence' 'existing' 'expand' 'expansion' 'expect' 'expectation' 'expense' 'expensive' 'experience' 'experiment' 'expert' 'explain' 'explanation' 'explode' 'explore' 'explosion' 'expose' 'exposure' 'express' 'expression' 'extend' 'extension' 'extensive' 'extent' 'external' 'extra' 'extraordinary' 'extreme' 'extremely' 'eye' 'fabric' 'face' 'facility' 'fact' 'factor' 'factory' 'faculty' 'fade' 'fail' 'failure' 'fair' 'fairly' 'faith' 'fall' 'false' 'familiar' 'family' 'famous' 'fan' 'fantasy' 'far' 'farm' 'farmer' 'fashion' 'fast' 'fat' 'fate' 'father' 'fault' 'favor' 'favorite' 'fear' 'feature' 'federal' 'fee' 'feed' 'feel' 'feeling' 'fellow' 'female' 'fence' 'few' 'fewer' 'fiber' 'fiction' 'field' 'fifteen' 'fifth' 'fifty' 'fight' 'fighter' 'fighting' 'figure' 'file' 'fill' 'film' 'final' 'finally' 'finance' 'financial' 'find' 'finding' 'fine' 'finger' 'finish' 'fire' 'firm' 'flee' 'flesh' 'flight' 'float' 'floor' 'flow' 'flower' 'fly' 'focus' 'folk' 'follow' 'following' 'food' 'foot' 'football' 'for' 'force' 'foreign' 'forest' 'forever' 'forget' 'form' 'formal' 'formation' 'former' 'formula' 'forth' 'fortune' 'forward' 'found' 'foundation' 'founder' 'four' 'fourth' 'frame' 'framework' 'free' 'freedom' 'freeze' 'French' 'frequency' 'frequent' 'frequently' 'fresh' 'friend' 'friendly' 'friendship' 'from' 'front' 'fruit' 'frustration' 'fuel' 'full' 'fully' 'fun' 'function' 'fund' 'fundamental' 'funding' 'funeral' 'funny' 'furniture' 'furthermore' 'future' 'gain' 'galaxy' 'gallery' 'game' 'gang' 'gap' 'garage' 'garden' 'garlic' 'gas' 'gate' 'gather' 'gay' 'gaze' 'gear' 'gender' 'gene' 'general' 'generally' 'generate' 'generation' 'genetic' 'gentleman' 'gently' 'German' 'gesture' 'get' 'ghost' 'giant' 'gift' 'gifted' 'girl' 'girlfriend' 'give' 'given' 'grab' 'grade' 'gradually' 'graduate' 'grain' 'grand' 'grandfather' 'grandmother' 'grant' 'grass' 'grave' 'gray' 'great' 'greatest' 'green' 'grocery' 'ground' 'group' 'grow' 'growing' 'growth' 'guarantee' 'guard' 'guess' 'guest' 'guide' 'guideline' 'guilty' 'gun' 'guy' 'habit' 'habitat' 'hair' 'half' 'hall' 'hand' 'handful' 'handle' 'hang' 'happen' 'happy' 'hard' 'hardly' 'hat' 'hate' 'have' 'he' 'head' 'headline' 'headquarters' 'health' 'healthy' 'hear' 'hearing' 'heart' 'heat' 'heaven' 'heavily' 'heavy' 'heel' 'height' 'helicopter' 'hell' 'hello' 'help' 'helpful' 'her' 'here' 'heritage' 'hero' 'herself' 'hey' 'hi' 'hide' 'high' 'highlight' 'highly' 'highway' 'hill' 'him' 'himself' 'hip' 'hire' 'his' 'historian' 'historic' 'historical' 'history' 'hit' 'hold' 'hole' 'holiday' 'holy' 'home' 'homeless' 'honest' 'honey' 'honor' 'hope' 'horizon' 'horror' 'horse' 'hospital' 'host' 'hot' 'hotel' 'hour' 'house' 'household' 'housing' 'how' 'however' 'huge' 'human' 'humor' 'hundred' 'hungry' 'hunter' 'hunting' 'hurt' 'husband' 'hypothesis' 'ignore' 'ill' 'illegal' 'illness' 'impose' 'impossible' 'impress' 'impression' 'impressive' 'incentive' 'incident' 'include' 'including' 'income' 'incorporate' 'increase' 'increased' 'increasing' 'increasingly' 'incredible' 'indeed' 'independence' 'independent' 'index' 'Indian' 'indicate' 'indication' 'individual' 'industrial' 'industry' 'infant' 'infection' 'inflation' 'influence' 'inform' 'information' 'ingredient' 'initial' 'initially' 'initiative' 'injury' 'inner' 'innocent' 'inquiry' 'inside' 'insight' 'insist' 'inspire' 'install' 'instance' 'instead' 'institution' 'institutional' 'instruction' 'instructor' 'instrument' 'insurance' 'intellectual' 'intelligence' 'intend' 'intense' 'intensity' 'intention' 'interaction' 'interest' 'interested' 'interesting' 'internal' 'international' 'Internet' 'interpret' 'interpretation' 'intervention' 'interview' 'into' 'introduce' 'introduction' 'invasion' 'invest' 'investigate' 'investigation' 'investigator' 'investment' 'investor' 'invite' 'involve' 'involved' 'involvement' 'Iraqi' 'Irish' 'iron' 'Islamic' 'island' 'Israeli' 'issue' 'it' 'Italian' 'item' 'its' 'itself' 'jacket' 'jail' 'jet' 'job' 'join' 'joint' 'joke' 'journal' 'journalist' 'journey' 'joy' 'judge' 'judgment' 'juice' 'jump' 'junior' 'jury' 'landscape' 'language' 'lap' 'large' 'largely' 'last' 'late' 'later' 'Latin' 'latter' 'laugh' 'launch' 'law' 'lawn' 'lawsuit' 'lawyer' 'lay' 'layer' 'lead' 'leader' 'leadership' 'leading' 'leaf' 'league' 'lean' 'learn' 'learning' 'least' 'leather' 'leave' 'left' 'leg' 'legacy' 'legal' 'legend' 'legislation' 'legitimate' 'lemon' 'length' 'less' 'lesson' 'let' 'letter' 'level' 'liberal' 'library' 'license' 'lie' 'life' 'lifestyle' 'lifetime' 'lift' 'light' 'like' 'likely' 'limit' 'limitation' 'limited' 'line' 'link' 'lip' 'list' 'loan' 'local' 'locate' 'location' 'lock' 'long' 'long-term' 'look' 'loose' 'lose' 'loss' 'lost' 'lot' 'lots' 'loud' 'love' 'lovely' 'lover' 'low' 'lower' 'luck' 'lucky' 'lunch' 'lung' 'machine' 'mad' 'magazine' 'mail' 'main' 'mainly' 'maintain' 'maintenance' 'major' 'majority' 'make' 'maker' 'makeup' 'male' 'mall' 'man' 'manage' 'management' 'manager' 'manner' 'manufacturer' 'manufacturing' 'many' 'map' 'margin' 'mark' 'market' 'marketing' 'marriage' 'married' 'marry' 'mask' 'mass' 'massive' 'master' 'match' 'material' 'math' 'matter' 'may' 'maybe' 'mayor' 'me' 'meal' 'mean' 'meaning' 'meanwhile' 'measure' 'meeting' 'member' 'membership' 'memory' 'mental' 'mention' 'menu' 'mere' 'merely' 'mess' 'message' 'metal' 'meter' 'method' 'Mexican' 'middle' 'might' 'military' 'milk' 'million' 'mind' 'mine' 'minister' 'minor' 'minority' 'minute' 'miracle' 'mirror' 'miss' 'missile' 'mission' 'mistake' 'mix' 'mixture' 'mm-hmm' 'mode' 'model' 'moderate' 'modern' 'modest' 'mom' 'moment' 'money' 'monitor' 'month' 'mood' 'moon' 'moral' 'more' 'moreover' 'morning' 'mortgage' 'most' 'mostly' 'mother' 'motion' 'motivation' 'motor' 'mount' 'mountain' 'mouse' 'mouth' 'move' 'movement' 'movie' 'much' 'multiple' 'murder' 'muscle' 'museum' 'music' 'musical' 'musician' 'Muslim' 'must' 'mutual' 'my' 'myself' 'mystery' 'myth' 'naked' 'name' 'narrative' 'narrow' 'nation' 'national' 'native' 'natural' 'neighbor' 'neighborhood' 'neither' 'nerve' 'nervous' 'net' 'network' 'never' 'nevertheless' 'new' 'newly' 'news' 'newspaper' 'next' 'nice' 'night' 'nine' 'no' 'nobody' 'nod' 'noise' 'nomination' 'none' 'nonetheless' 'nor' 'normal' 'normally' 'north' 'northern' 'nose' 'not' 'note' 'nothing' 'notice' 'notion' 'novel' 'now' 'nowhere' 'n’t' 'nuclear' 'number' 'numerous' 'nurse' 'nut' 'object' 'objective' 'obligation' 'observation' 'observe' 'observer' 'obtain' 'obvious' 'obviously' 'occasion' 'occasionally' 'occupation' 'occupy' 'occur' 'ocean' 'odd' 'odds' 'of' 'off' 'offense' 'offensive' 'offer' 'office' 'officer' 'official' 'often' 'oh' 'oil' 'ok' 'okay' 'old' 'Olympic' 'on' 'once' 'one' 'ongoing' 'onion' 'online' 'only' 'onto' 'open' 'opening' 'operate' 'operating' 'operation' 'operator' 'opinion' 'opponent' 'opportunity' 'oppose' 'opposite' 'opposition' 'option' 'or' 'orange' 'order' 'ordinary' 'organic' 'organization' 'organize' 'orientation' 'origin' 'original' 'outcome' 'outside' 'oven' 'over' 'overall' 'overcome' 'overlook' 'owe' 'own' 'owner' 'pace' 'pack' 'package' 'page' 'pain' 'painful' 'paint' 'painter' 'painting' 'pair' 'pale' 'Palestinian' 'palm' 'pan' 'panel' 'pant' 'paper' 'parent' 'park' 'parking' 'part' 'participant' 'participate' 'participation' 'particular' 'particularly' 'partly' 'partner' 'partnership' 'party' 'pass' 'passage' 'passenger' 'passion' 'past' 'patch' 'path' 'patient' 'pattern' 'pause' 'pay' 'payment' 'PC' 'peace' 'peak' 'peer' 'penalty' 'people' 'pepper' 'per' 'perceive' 'percentage' 'perception' 'perfect' 'perfectly' 'perform' 'performance' 'perhaps' 'period' 'permanent' 'permission' 'permit' 'person' 'personal' 'personality' 'personally' 'personnel' 'perspective' 'persuade' 'pet' 'phase' 'phenomenon' 'philosophy' 'phone' 'photo' 'photograph' 'photographer' 'phrase' 'physical' 'physically' 'physician' 'piano' 'pick' 'picture' 'pie' 'piece' 'pile' 'pilot' 'pine' 'pink' 'pipe' 'pitch' 'place' 'plan' 'plane' 'planet' 'planning' 'plant' 'plastic' 'plate' 'platform' 'play' 'player' 'please' 'pleasure' 'plenty' 'plot' 'plus' 'PM' 'pocket' 'poem' 'poet' 'poetry' 'point' 'pole' 'police' 'policy' 'political' 'politically' 'politician' 'politics' 'poll' 'pollution' 'pool' 'poor' 'pop' 'popular' 'population' 'porch' 'port' 'portion' 'portrait' 'portray' 'pose' 'position' 'positive' 'possess' 'possibility' 'possible' 'possibly' 'post' 'pot' 'potato' 'potential' 'potentially' 'pound' 'pour' 'poverty' 'powder' 'power' 'powerful' 'practical' 'practice' 'pray' 'prayer' 'precisely' 'predict' 'prefer' 'preference' 'pregnancy' 'pregnant' 'preparation' 'prepare' 'prescription' 'presence' 'present' 'presentation' 'preserve' 'president' 'presidential' 'press' 'pressure' 'pretend' 'pretty' 'prevent' 'previous' 'previously' 'price' 'pride' 'priest' 'primarily' 'primary' 'prime' 'principal' 'principle' 'print' 'prior' 'priority' 'prison' 'prisoner' 'privacy' 'private' 'probably' 'problem' 'procedure' 'proceed' 'process' 'produce' 'producer' 'product' 'production' 'profession' 'professional' 'professor' 'profile' 'profit' 'program' 'progress' 'project' 'prominent' 'promise' 'promote' 'prompt' 'proof' 'proper' 'properly' 'property' 'proportion' 'proposal' 'propose' 'proposed' 'prosecutor' 'prospect' 'protect' 'protection' 'protein' 'protest' 'proud' 'prove' 'provide' 'provider' 'province' 'provision' 'psychological' 'psychologist' 'psychology' 'public' 'publication' 'publicly' 'publish' 'publisher' 'pull' 'punishment' 'purchase' 'pure' 'purpose' 'pursue' 'push' 'put' 'qualify' 'quality' 'quarter' 'quarterback' 'question' 'quick' 'quickly' 'quiet' 'quietly' 'quit' 'quite' 'quote' 'reading' 'ready' 'real' 'reality' 'realize' 'really' 'reason' 'reasonable' 'recall' 'receive' 'recent' 'recently' 'recipe' 'recognition' 'recognize' 'recommend' 'recommendation' 'record' 'recording' 'recover' 'recovery' 'recruit' 'red' 'reduce' 'reduction' 'refer' 'reference' 'reflect' 'reflection' 'reform' 'refugee' 'refuse' 'regard' 'regarding' 'regardless' 'regime' 'region' 'regional' 'register' 'regular' 'regularly' 'regulate' 'regulation' 'reinforce' 'reject' 'relate' 'relation' 'relationship' 'relative' 'relatively' 'relax' 'release' 'relevant' 'relief' 'religion' 'religious' 'rely' 'remain' 'remaining' 'remarkable' 'remember' 'remind' 'remote' 'remove' 'repeat' 'repeatedly' 'replace' 'reply' 'report' 'reporter' 'represent' 'representation' 'representative' 'Republican' 'reputation' 'request' 'require' 'requirement' 'research' 'researcher' 'resemble' 'reservation' 'resident' 'resist' 'resistance' 'resolution' 'resolve' 'resort' 'resource' 'respect' 'respond' 'respondent' 'response' 'responsibility' 'responsible' 'rest' 'restaurant' 'restore' 'restriction' 'result' 'retain' 'retire' 'retirement' 'return' 'reveal' 'revenue' 'review' 'revolution' 'rhythm' 'rice' 'rich' 'rid' 'ride' 'round' 'route' 'routine' 'row' 'rub' 'rule' 'run' 'running' 'rural' 'rush' 'Russian' 'sacred' 'sad' 'safe' 'safety' 'sake' 'salad' 'salary' 'sale' 'sales' 'salt' 'same' 'sample' 'sanction' 'sand' 'satellite' 'satisfaction' 'satisfy' 'sauce' 'save' 'saving' 'say' 'scale' 'scandal' 'scared' 'scenario' 'scene' 'schedule' 'scheme' 'scholar' 'scholarship' 'school' 'science' 'scientific' 'scientist' 'scope' 'score' 'scream' 'screen' 'script' 'sea' 'search' 'season' 'seat' 'second' 'secret' 'secretary' 'section' 'sector' 'secure' 'security' 'see' 'seed' 'seek' 'seem' 'segment' 'seize' 'select' 'selection' 'self' 'sell' 'Senate' 'senator' 'send' 'senior' 'sense' 'sensitive' 'sentence' 'separate' 'sequence' 'series' 'serious' 'seriously' 'serve' 'service' 'session' 'set' 'setting' 'settle' 'settlement' 'seven' 'several' 'severe' 'sex' 'sexual' 'shade' 'shadow' 'shake' 'shall' 'shape' 'share' 'sharp' 'she' 'sheet' 'shelf' 'shell' 'shelter' 'shift' 'shine' 'ship' 'shirt' 'shock' 'shoe' 'shoot' 'shooting' 'shop' 'shopping' 'shore' 'short' 'shortly' 'shot' 'should' 'shoulder' 'shout' 'show' 'shower' 'shrug' 'shut' 'similar' 'similarly' 'simple' 'simply' 'sin' 'since' 'sing' 'singer' 'single' 'sink' 'sir' 'sister' 'sit' 'site' 'situation' 'six' 'size' 'ski' 'skill' 'skin' 'sky' 'slave' 'sleep' 'slice' 'slide' 'slight' 'slightly' 'slip' 'slow' 'slowly' 'small' 'smart' 'smell' 'smile' 'smoke' 'smooth' 'snap' 'snow' 'so' 'so-called' 'soccer' 'social' 'society' 'soft' 'software' 'soil' 'solar' 'soldier' 'solid' 'solution' 'solve' 'some' 'somebody' 'somehow' 'someone' 'something' 'sometimes' 'somewhat' 'somewhere' 'son' 'song' 'soon' 'sophisticated' 'sorry' 'sort' 'soul' 'sound' 'soup' 'source' 'south' 'southern' 'Soviet' 'space' 'Spanish' 'speak' 'speaker' 'special' 'specialist' 'species' 'specific' 'specifically' 'speech' 'speed' 'spend' 'spending' 'spin' 'spirit' 'spiritual' 'split' 'spokesman' 'sport' 'spot' 'spread' 'spring' 'square' 'squeeze' 'stability' 'stable' 'staff' 'stage' 'stair' 'stake' 'stand' 'standard' 'standing' 'star' 'still' 'stir' 'stock' 'stomach' 'stone' 'stop' 'storage' 'store' 'storm' 'story' 'straight' 'strange' 'stranger' 'strategic' 'strategy' 'stream' 'street' 'strength' 'strengthen' 'stress' 'stretch' 'strike' 'string' 'strip' 'stroke' 'strong' 'strongly' 'structure' 'struggle' 'student' 'studio' 'study' 'stuff' 'stupid' 'style' 'subject' 'submit' 'subsequent' 'substance' 'substantial' 'succeed' 'success' 'successful' 'successfully' 'suit' 'summer' 'summit' 'sun' 'super' 'supply' 'support' 'supporter' 'suppose' 'supposed' 'Supreme' 'sure' 'surely' 'surface' 'surgery' 'surprise' 'suspect' 'sustain' 'swear' 'sweep' 'sweet' 'swim' 'swing' 'switch' 'symbol' 'symptom' 'system' 'table' 'tablespoon' 'tactic' 'tail' 'take' 'tale' 'talent' 'talk' 'tall' 'tank' 'tap' 'tape' 'target' 'task' 'taste' 'tax' 'taxpayer' 'tea' 'teach' 'teacher' 'teaching' 'team' 'tear' 'teaspoon' 'technical' 'technique' 'technology' 'teen' 'teenager' 'telephone' 'telescope' 'television' 'tell' 'temperature' 'temporary' 'ten' 'tend' 'test' 'testify' 'testimony' 'testing' 'text' 'they' 'thick' 'thin' 'thing' 'think' 'thinking' 'third' 'thirty' 'this' 'those' 'though' 'thought' 'thousand' 'threat' 'threaten' 'three' 'throat' 'through' 'throughout' 'throw' 'thus' 'ticket' 'tie' 'tight' 'time' 'tiny' 'tip' 'tire' 'tired' 'tissue' 'title' 'to' 'tobacco' 'today' 'toe' 'together' 'tomato' 'tomorrow' 'tone' 'tongue' 'tonight' 'too' 'tool' 'tooth' 'top' 'topic' 'toss' 'total' 'totally' 'touch' 'tough' 'tour' 'tourist' 'tournament' 'toward' 'towards' 'tower' 'town' 'toy' 'trace' 'track' 'trade' 'tradition' 'traditional' 'traffic' 'tragedy' 'trail' 'train' 'tremendous' 'trend' 'trial' 'tribe' 'trick' 'trip' 'troop' 'trouble' 'truck' 'true' 'truly' 'trust' 'truth' 'try' 'tube' 'tunnel' 'turn' 'TV' 'twelve' 'twenty' 'twice' 'twin' 'two' 'type' 'typical' 'typically' 'unit' 'United' 'universal' 'universe' 'university' 'unknown' 'unless' 'unlike' 'unlikely' 'until' 'unusual' 'up' 'upon' 'valley' 'valuable' 'value' 'variable' 'variation' 'variety' 'view' 'viewer' 'village' 'violate' 'violation' 'violence' 'violent' 'virtually' 'virtue' 'virus' 'visible' 'vision' 'visit' 'visitor' 'visual' 'vital' 'voice' 'volume' 'volunteer' 'vote' 'voter' 'wash' 'waste' 'watch' 'water' 'wave' 'way' 'we' 'weak' 'wealth' 'wealthy' 'weapon' 'wear' 'weather' 'wedding' 'week' 'weekend' 'weekly' 'weigh' 'weight' 'welcome' 'welfare' 'well' 'west' 'western' 'wet' 'what' 'whatever' 'wheel' 'when' 'whenever' 'where' 'whereas' 'whether' 'which' 'while' 'whisper' 'white' 'who' 'whole' 'whom' 'whose' 'why' 'wide' 'widely' 'widespread' 'wife' 'wild' 'will' 'willing' 'win' 'wind' 'window' 'wine' 'wing' 'winner' 'winter' 'wipe' 'withdraw' 'within' 'without' 'witness' 'woman' 'wonder' 'wonderful' 'wood' 'wooden' 'word' 'work' 'worker' 'working' 'works' 'workshop' 'world' 'worried' 'worry' 'worth' 'would' 'wound' 'wrap' 'yield' 'you' 'young' 'your' 'yours' 'yourself' 'youth' 'zone'};\r\nletter = 'c';\r\n[y1,y2] = addCetc(WORDS,letter);\r\ny1_correct = {'enter' 'fat' 'hair' 'lean' 'loud' 'math' 'one' 'over' 'path' 'sale' 'up'};\r\ny2_correct = {'center' 'fact' 'chair' 'clean' 'cloud' 'match' 'once' 'cover' 'patch' 'scale' 'cup'};\r\nassert(isequal(y1,y1_correct) \u0026\u0026 isequal(y2,y2_correct))","published":true,"deleted":false,"likes_count":4,"comments_count":4,"created_by":46909,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":13,"test_suite_updated_at":"2021-05-06T02:50:12.000Z","rescore_all_solutions":true,"group_id":1,"created_at":"2021-05-04T03:46:54.000Z","updated_at":"2025-07-18T20:09:00.000Z","published_at":"2021-05-04T03:54:50.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eWith this problem, I have added 100 to Cody. In a way, this problem asks you to add 100 as well. \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eWrite a function to add C, the Roman numeral for 100, to one word in a list to make another word in the list. For example, you can add C to “hair” to make “chair” or to “lie” to make “lice”, assuming that all of these words are in the list. Add only one C but consider target words with multiple C’s—e.g., you can add a C to “scare” to make “scarce”. The function should return a cell array \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:rFonts w:cs=\\\"monospace\\\"/\u003e\u003c/w:rPr\u003e\u003cw:t\u003ey1\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e with a list of original words sorted alphabetically and a corresponding cell array \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:rFonts w:cs=\\\"monospace\\\"/\u003e\u003c/w:rPr\u003e\u003cw:t\u003ey2\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e with a list of words with the letter added.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e(And if you are going to go through the trouble of writing the code for C, you might as well make it work for any letter used in English.)\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eAlthough 100 is an \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:hyperlink w:docLocation=\\\"https://static.simpsonswiki.com/images/thumb/9/97/Sweet_Seymour_Skinner%27s_Baadasssss_Song_-_chalkboard_gag.png/300px-Sweet_Seymour_Skinner%27s_Baadasssss_Song_-_chalkboard_gag.png\\\"\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:u/\u003e\u003c/w:rPr\u003e\u003cw:t\u003earbitrary milestone\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:hyperlink\u003e\u003cw:r\u003e\u003cw:t\u003e, it’s as good a time as any to express gratitude to MathWorks and the Cody community. Thanks to all of you for solving my problems, challenging us with your own problems, and helping me improve my own programming and problem solving. \u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"}],"problem_search":{"errors":[],"problems":[{"id":51675,"title":"Add 100","description":null,"description_html":"\u003cdiv style = \"text-align: start; line-height: 20.4333px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 258px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 407px 129px; transform-origin: 407px 129px; vertical-align: baseline; \"\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.5px; text-align: left; transform-origin: 384px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 300.792px 7.91667px; transform-origin: 300.792px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eWith this problem, I have added 100 to Cody. In a way, this problem asks you to add 100 as well. \u003c/span\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 1.94167px 7.91667px; transform-origin: 1.94167px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 105px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 52.5px; text-align: left; transform-origin: 384px 52.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 375.983px 7.91667px; transform-origin: 375.983px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eWrite a function to add C, the Roman numeral for 100, to one word in a list to make another word in the list. For example, you can add C to “hair” to make “chair” or to “lie” to make “lice”, assuming that all of these words are in the list. Add only one C but consider target words with multiple C’s—e.g., you can add a C to “scare” to make “scarce”. The function should return a cell array \u003c/span\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 7.7px 7.91667px; transform-origin: 7.7px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"font-family: Menlo, Monaco, Consolas, \u0026quot;Courier New\u0026quot;, monospace; \"\u003ey1\u003c/span\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 247.417px 7.91667px; transform-origin: 247.417px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e with a list of original words sorted alphabetically and a corresponding cell array \u003c/span\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 7.7px 7.91667px; transform-origin: 7.7px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"font-family: Menlo, Monaco, Consolas, \u0026quot;Courier New\u0026quot;, monospace; \"\u003ey2\u003c/span\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 75.45px 7.91667px; transform-origin: 75.45px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e with a list of words with the letter added.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 42px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 21px; text-align: left; transform-origin: 384px 21px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 384px 7.91667px; transform-origin: 384px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e(And if you are going to go through the trouble of writing the code for C, you might as well make it work for any letter used in English.)\u003c/span\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 1.94167px 7.91667px; transform-origin: 1.94167px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 63px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 31.5px; text-align: left; transform-origin: 384px 31.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 59.9083px 7.91667px; transform-origin: 59.9083px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eAlthough 100 is an \u003c/span\u003e\u003c/span\u003e\u003ca target='_blank' href = \"https://static.simpsonswiki.com/images/thumb/9/97/Sweet_Seymour_Skinner%27s_Baadasssss_Song_-_chalkboard_gag.png/300px-Sweet_Seymour_Skinner%27s_Baadasssss_Song_-_chalkboard_gag.png\"\u003e\u003cspan style=\"\"\u003e\u003cspan style=\"text-decoration: underline; text-decoration-line: underline; \"\u003earbitrary milestone\u003c/span\u003e\u003c/span\u003e\u003c/a\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 236.6px 7.91667px; transform-origin: 236.6px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e, it’s as good a time as any to express gratitude to MathWorks and the Cody community. Thanks to all of you for solving my problems, challenging us with your own problems, and helping me improve my own programming and problem solving. \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function [y1,y2] = addCetc(words,letter)\r\n%  words  = list of words \r\n%  letter = letter to be added\r\n%  y1     = original words to add the letters to (sorted alphabetically)\r\n%  y2     = words with the added letter (corresponding to y1)\r\n\r\n   y1 = f1(words,letter)\r\n   y2 = f2(words,letter)\r\nend","test_suite":"%%\r\nwords = {'chair' 'decoy' 'hair' 'junk' 'lice' 'lickspittle' 'lie' 'misdirection' 'scarce' 'scare' 'scars'};\r\nletter = 'c';\r\n[y1,y2] = addCetc(words,letter);\r\ny1_correct = {'hair' 'lie' 'scare'};\r\ny2_correct = {'chair' 'lice' 'scarce'};\r\nassert(isequal(y1,y1_correct) \u0026\u0026 isequal(y2,y2_correct))\r\n\r\n%%\r\nwords = {'addle' 'being' 'bedding' 'candor' 'deduce' 'deuce' 'drake' 'driven' 'educe' 'kin' 'kind' 'meal' 'medal' 'paddle' 'rake' 'riven'};\r\nletter = 'd';\r\n[y1,y2] = addCetc(words,letter);\r\ny1_correct = {'deuce' 'educe' 'kin' 'meal' 'rake' 'riven'};\r\ny2_correct = {'deduce' 'deduce' 'kind' 'medal' 'drake' 'driven'};\r\nassert(isequal(y1,y1_correct) \u0026\u0026 isequal(y2,y2_correct))\r\n\r\n%%\r\nwords = {'admit' 'ailing' 'conjure' 'ester' 'ginger' 'injure' 'inure' 'jailing' 'jeep' 'jester' 'jocular' 'joust' 'jowl' 'junction' 'major' 'object' 'ocular' 'oust' 'owl' 'sojourn' 'unction'};\r\nletter = 'j';\r\n[y1,y2] = addCetc(words,letter);\r\ny1_correct = {'ailing' 'ester' 'inure' 'ocular' 'oust' 'owl' 'unction'};\r\ny2_correct = {'jailing' 'jester' 'injure' 'jocular' 'joust' 'jowl' 'junction'};\r\nassert(isequal(y1,y1_correct) \u0026\u0026 isequal(y2,y2_correct))\r\n\r\n%%\r\nwords = {'ambush' 'bomb' 'chomp' 'chop' 'clammy' 'clay' 'demote' 'denote' 'embryo' 'famine' 'gamble' 'gable' 'hamper' 'iamb' 'jumble' 'kempt' 'lab' 'lamb' 'sampling' 'sapling' 'smolder' 'solder' 'trebling' 'trembling' 'unkempt' 'unkept'};\r\nletter = 'm';\r\n[y1,y2] = addCetc(words,letter);\r\ny1_correct = {'chop' 'gable' 'lab' 'sapling' 'solder' 'trebling' 'unkept'};\r\ny2_correct = {'chomp' 'gamble' 'lamb' 'sampling' 'smolder' 'trembling' 'unkempt'};\r\nassert(isequal(y1,y1_correct) \u0026\u0026 isequal(y2,y2_correct))\r\n\r\n%%\r\nwords = {'boy' 'boxy' 'context' 'deter' 'dexter' 'efflux' 'eternal' 'external' 'is' 'maim' 'maxim' 'sixty' 'taxes' 'xis'};\r\nletter = 'x';\r\n[y1,y2] = addCetc(words,letter);\r\ny1_correct = {'boy' 'deter' 'eternal' 'is' 'maim'};\r\ny2_correct = {'boxy' 'dexter' 'external' 'xis' 'maxim'};\r\nassert(isequal(y1,y1_correct) \u0026\u0026 isequal(y2,y2_correct))\r\n\r\n%%\r\nWORDS = {'abandon' 'ability' 'able' 'about' 'above' 'abroad' 'absence' 'absolute' 'absorb' 'abuse' 'academic' 'accept' 'access' 'accident' 'accompany' 'accomplish' 'according' 'acknowledge' 'acquire' 'across' 'act' 'action' 'active' 'activist' 'activity' 'actor' 'actress' 'actual' 'actually' 'ad' 'adapt' 'add' 'addition' 'additional' 'address' 'adequate' 'adjust' 'adjustment' 'administration' 'administrator' 'admire' 'admission' 'admit' 'advertising' 'advice' 'advise' 'adviser' 'advocate' 'affair' 'affect' 'afford' 'afraid' 'after' 'afternoon' 'again' 'against' 'age' 'agency' 'agenda' 'agent' 'aggressive' 'ahead' 'aid' 'aide' 'allow' 'ally' 'almost' 'alone' 'along' 'already' 'also' 'alter' 'alternative' 'although' 'always' 'amazing' 'among' 'amount' 'analysis' 'analyst' 'analyze' 'ancient' 'and' 'anger' 'angle' 'angry' 'animal' 'anniversary' 'announce' 'annual' 'another' 'answer' 'anticipate' 'anxiety' 'any' 'anybody' 'anymore' 'anyone' 'appoint' 'appointment' 'appreciate' 'approach' 'appropriate' 'approval' 'approve' 'approximately' 'architect' 'area' 'argue' 'argument' 'arise' 'arm' 'armed' 'army' 'around' 'arrange' 'arrangement' 'arrest' 'arrival' 'arrive' 'art' 'article' 'artist' 'artistic' 'as' 'aside' 'ask' 'asleep' 'aspect' 'assault' 'assert' 'assess' 'assessment' 'asset' 'assign' 'assignment' 'assist' 'assistance' 'assistant' 'associate' 'association' 'attention' 'attitude' 'attorney' 'attract' 'attractive' 'attribute' 'audience' 'author' 'authority' 'auto' 'available' 'average' 'avoid' 'award' 'aware' 'awareness' 'away' 'awful' 'baby' 'back' 'background' 'bad' 'badly' 'bag' 'bake' 'balance' 'ball' 'ban' 'band' 'bank' 'bar' 'barely' 'barrel' 'barrier' 'base' 'baseball' 'basic' 'basically' 'basis' 'basket' 'basketball' 'bathroom' 'because' 'become' 'bed' 'bedroom' 'beer' 'before' 'begin' 'beginning' 'behavior' 'behind' 'being' 'belief' 'believe' 'bell' 'belong' 'below' 'belt' 'bench' 'bend' 'beneath' 'benefit' 'beside' 'besides' 'best' 'bet' 'better' 'between' 'beyond' 'Bible' 'big' 'bike' 'bill' 'billion' 'bind' 'biological' 'bird' 'birth' 'birthday' 'boat' 'body' 'bomb' 'bombing' 'bond' 'bone' 'book' 'boom' 'boot' 'border' 'born' 'borrow' 'boss' 'both' 'bother' 'bottle' 'bottom' 'boundary' 'bowl' 'box' 'boy' 'boyfriend' 'brain' 'branch' 'brand' 'bread' 'break' 'breakfast' 'breast' 'brush' 'buck' 'budget' 'build' 'building' 'bullet' 'bunch' 'burden' 'burn' 'bury' 'bus' 'business' 'busy' 'but' 'butter' 'button' 'buy' 'buyer' 'by' 'campus' 'can' 'Canadian' 'cancer' 'candidate' 'cap' 'capability' 'capable' 'capacity' 'capital' 'captain' 'capture' 'car' 'carbon' 'card' 'care' 'category' 'Catholic' 'cause' 'ceiling' 'celebrate' 'celebration' 'celebrity' 'cell' 'center' 'central' 'century' 'CEO' 'ceremony' 'certain' 'certainly' 'chain' 'chair' 'chairman' 'challenge' 'chamber' 'champion' 'championship' 'chance' 'change' 'changing' 'channel' 'chapter' 'character' 'characteristic' 'characterize' 'charge' 'charity' 'chart' 'chase' 'cheap' 'check' 'Chinese' 'claim' 'class' 'classic' 'classroom' 'clean' 'closely' 'closer' 'clothes' 'clothing' 'cloud' 'club' 'clue' 'cluster' 'coach' 'coal' 'coalition' 'coast' 'coat' 'code' 'coffee' 'color' 'column' 'combination' 'combine' 'come' 'comedy' 'comfort' 'comfortable' 'command' 'commander' 'comment' 'commercial' 'commission' 'commit' 'commitment' 'committee' 'common' 'communicate' 'communication' 'community' 'company' 'compare' 'comparison' 'compete' 'competition' 'competitive' 'competitor' 'complain' 'complaint' 'complete' 'completely' 'complex' 'complicated' 'component' 'compose' 'composition' 'comprehensive' 'computer' 'concentrate' 'concentration' 'concept' 'concern' 'concerned' 'concert' 'conclude' 'conclusion' 'concrete' 'condition' 'conduct' 'conference' 'confidence' 'confident' 'confirm' 'conflict' 'confront' 'confusion' 'Congress' 'congressional' 'connect' 'connection' 'consciousness' 'consensus' 'consequence' 'conservative' 'consider' 'considerable' 'consideration' 'consist' 'consistent' 'constant' 'constantly' 'constitute' 'constitutional' 'construct' 'construction' 'consultant' 'consume' 'consumer' 'consumption' 'contact' 'contain' 'container' 'contemporary' 'content' 'contest' 'context' 'continue' 'continued' 'contract' 'contrast' 'contribute' 'contribution' 'control' 'controversial' 'controversy' 'convention' 'conventional' 'conversation' 'convert' 'conviction' 'convince' 'cook' 'cookie' 'cooking' 'cool' 'cooperation' 'cop' 'cope' 'copy' 'core' 'corn' 'corner' 'corporate' 'corporation' 'correct' 'correspondent' 'cost' 'cotton' 'couch' 'could' 'council' 'counselor' 'count' 'counter' 'country' 'county' 'couple' 'courage' 'course' 'court' 'cousin' 'cover' 'coverage' 'cow' 'crack' 'craft' 'crash' 'crazy' 'cream' 'create' 'creation' 'creative' 'creature' 'credit' 'crew' 'crime' 'criminal' 'crisis' 'criteria' 'critic' 'critical' 'criticism' 'criticize' 'crop' 'cross' 'crowd' 'crucial' 'cry' 'cultural' 'culture' 'cup' 'curious' 'current' 'currently' 'curriculum' 'custom' 'customer' 'cut' 'cycle' 'dad' 'daily' 'damage' 'dance' 'danger' 'dangerous' 'dear' 'death' 'debate' 'debt' 'decade' 'decide' 'decision' 'deck' 'declare' 'decline' 'decrease' 'deep' 'deeply' 'deer' 'defeat' 'defend' 'defendant' 'defense' 'defensive' 'deficit' 'define' 'definitely' 'definition' 'degree' 'delay' 'deliver' 'delivery' 'demand' 'democracy' 'Democrat' 'democratic' 'demonstrate' 'demonstration' 'deny' 'department' 'depend' 'dependent' 'depending' 'depict' 'depression' 'depth' 'deputy' 'derive' 'describe' 'description' 'desert' 'deserve' 'design' 'designer' 'desire' 'desk' 'desperate' 'despite' 'destroy' 'destruction' 'detail' 'detailed' 'detect' 'determine' 'develop' 'developing' 'development' 'device' 'devote' 'dialogue' 'die' 'diet' 'differ' 'difference' 'different' 'differently' 'difficult' 'disability' 'disagree' 'disappear' 'disaster' 'discipline' 'discourse' 'discover' 'discovery' 'discrimination' 'discuss' 'discussion' 'disease' 'dish' 'dismiss' 'disorder' 'display' 'dispute' 'distance' 'distant' 'distinct' 'distinction' 'distinguish' 'distribute' 'distribution' 'district' 'diverse' 'diversity' 'divide' 'division' 'divorce' 'DNA' 'do' 'doctor' 'document' 'dog' 'domestic' 'dominant' 'dominate' 'door' 'double' 'doubt' 'down' 'downtown' 'dozen' 'draft' 'drag' 'drama' 'dramatic' 'dramatically' 'draw' 'drawing' 'dream' 'dress' 'drink' 'drive' 'driver' 'drop' 'drug' 'dry' 'due' 'during' 'dust' 'duty' 'each' 'eager' 'ear' 'early' 'earn' 'earnings' 'earth' 'ease' 'easily' 'east' 'eastern' 'easy' 'eat' 'economic' 'economics' 'economist' 'economy' 'edge' 'edition' 'editor' 'educate' 'education' 'educational' 'educator' 'effect' 'effective' 'effectively' 'efficiency' 'efficient' 'effort' 'egg' 'eight' 'either' 'elderly' 'elect' 'election' 'electric' 'electricity' 'electronic' 'element' 'elementary' 'eliminate' 'elite' 'else' 'elsewhere' 'e-mail' 'embrace' 'emerge' 'emergency' 'emission' 'emotion' 'emotional' 'emphasis' 'emphasize' 'employ' 'employee' 'employer' 'employment' 'empty' 'enable' 'encounter' 'encourage' 'end' 'enemy' 'energy' 'enjoy' 'enormous' 'enough' 'ensure' 'enter' 'enterprise' 'entertainment' 'entire' 'entirely' 'entrance' 'entry' 'environment' 'environmental' 'episode' 'equal' 'equally' 'equipment' 'era' 'error' 'ethnic' 'European' 'evaluate' 'evaluation' 'even' 'evening' 'event' 'eventually' 'ever' 'every' 'everybody' 'everyday' 'everyone' 'everything' 'everywhere' 'evidence' 'evolution' 'evolve' 'exact' 'exactly' 'examination' 'examine' 'example' 'exceed' 'excellent' 'except' 'exception' 'exchange' 'exciting' 'executive' 'exercise' 'exhibit' 'exhibition' 'exist' 'existence' 'existing' 'expand' 'expansion' 'expect' 'expectation' 'expense' 'expensive' 'experience' 'experiment' 'expert' 'explain' 'explanation' 'explode' 'explore' 'explosion' 'expose' 'exposure' 'express' 'expression' 'extend' 'extension' 'extensive' 'extent' 'external' 'extra' 'extraordinary' 'extreme' 'extremely' 'eye' 'fabric' 'face' 'facility' 'fact' 'factor' 'factory' 'faculty' 'fade' 'fail' 'failure' 'fair' 'fairly' 'faith' 'fall' 'false' 'familiar' 'family' 'famous' 'fan' 'fantasy' 'far' 'farm' 'farmer' 'fashion' 'fast' 'fat' 'fate' 'father' 'fault' 'favor' 'favorite' 'fear' 'feature' 'federal' 'fee' 'feed' 'feel' 'feeling' 'fellow' 'female' 'fence' 'few' 'fewer' 'fiber' 'fiction' 'field' 'fifteen' 'fifth' 'fifty' 'fight' 'fighter' 'fighting' 'figure' 'file' 'fill' 'film' 'final' 'finally' 'finance' 'financial' 'find' 'finding' 'fine' 'finger' 'finish' 'fire' 'firm' 'flee' 'flesh' 'flight' 'float' 'floor' 'flow' 'flower' 'fly' 'focus' 'folk' 'follow' 'following' 'food' 'foot' 'football' 'for' 'force' 'foreign' 'forest' 'forever' 'forget' 'form' 'formal' 'formation' 'former' 'formula' 'forth' 'fortune' 'forward' 'found' 'foundation' 'founder' 'four' 'fourth' 'frame' 'framework' 'free' 'freedom' 'freeze' 'French' 'frequency' 'frequent' 'frequently' 'fresh' 'friend' 'friendly' 'friendship' 'from' 'front' 'fruit' 'frustration' 'fuel' 'full' 'fully' 'fun' 'function' 'fund' 'fundamental' 'funding' 'funeral' 'funny' 'furniture' 'furthermore' 'future' 'gain' 'galaxy' 'gallery' 'game' 'gang' 'gap' 'garage' 'garden' 'garlic' 'gas' 'gate' 'gather' 'gay' 'gaze' 'gear' 'gender' 'gene' 'general' 'generally' 'generate' 'generation' 'genetic' 'gentleman' 'gently' 'German' 'gesture' 'get' 'ghost' 'giant' 'gift' 'gifted' 'girl' 'girlfriend' 'give' 'given' 'grab' 'grade' 'gradually' 'graduate' 'grain' 'grand' 'grandfather' 'grandmother' 'grant' 'grass' 'grave' 'gray' 'great' 'greatest' 'green' 'grocery' 'ground' 'group' 'grow' 'growing' 'growth' 'guarantee' 'guard' 'guess' 'guest' 'guide' 'guideline' 'guilty' 'gun' 'guy' 'habit' 'habitat' 'hair' 'half' 'hall' 'hand' 'handful' 'handle' 'hang' 'happen' 'happy' 'hard' 'hardly' 'hat' 'hate' 'have' 'he' 'head' 'headline' 'headquarters' 'health' 'healthy' 'hear' 'hearing' 'heart' 'heat' 'heaven' 'heavily' 'heavy' 'heel' 'height' 'helicopter' 'hell' 'hello' 'help' 'helpful' 'her' 'here' 'heritage' 'hero' 'herself' 'hey' 'hi' 'hide' 'high' 'highlight' 'highly' 'highway' 'hill' 'him' 'himself' 'hip' 'hire' 'his' 'historian' 'historic' 'historical' 'history' 'hit' 'hold' 'hole' 'holiday' 'holy' 'home' 'homeless' 'honest' 'honey' 'honor' 'hope' 'horizon' 'horror' 'horse' 'hospital' 'host' 'hot' 'hotel' 'hour' 'house' 'household' 'housing' 'how' 'however' 'huge' 'human' 'humor' 'hundred' 'hungry' 'hunter' 'hunting' 'hurt' 'husband' 'hypothesis' 'ignore' 'ill' 'illegal' 'illness' 'impose' 'impossible' 'impress' 'impression' 'impressive' 'incentive' 'incident' 'include' 'including' 'income' 'incorporate' 'increase' 'increased' 'increasing' 'increasingly' 'incredible' 'indeed' 'independence' 'independent' 'index' 'Indian' 'indicate' 'indication' 'individual' 'industrial' 'industry' 'infant' 'infection' 'inflation' 'influence' 'inform' 'information' 'ingredient' 'initial' 'initially' 'initiative' 'injury' 'inner' 'innocent' 'inquiry' 'inside' 'insight' 'insist' 'inspire' 'install' 'instance' 'instead' 'institution' 'institutional' 'instruction' 'instructor' 'instrument' 'insurance' 'intellectual' 'intelligence' 'intend' 'intense' 'intensity' 'intention' 'interaction' 'interest' 'interested' 'interesting' 'internal' 'international' 'Internet' 'interpret' 'interpretation' 'intervention' 'interview' 'into' 'introduce' 'introduction' 'invasion' 'invest' 'investigate' 'investigation' 'investigator' 'investment' 'investor' 'invite' 'involve' 'involved' 'involvement' 'Iraqi' 'Irish' 'iron' 'Islamic' 'island' 'Israeli' 'issue' 'it' 'Italian' 'item' 'its' 'itself' 'jacket' 'jail' 'jet' 'job' 'join' 'joint' 'joke' 'journal' 'journalist' 'journey' 'joy' 'judge' 'judgment' 'juice' 'jump' 'junior' 'jury' 'landscape' 'language' 'lap' 'large' 'largely' 'last' 'late' 'later' 'Latin' 'latter' 'laugh' 'launch' 'law' 'lawn' 'lawsuit' 'lawyer' 'lay' 'layer' 'lead' 'leader' 'leadership' 'leading' 'leaf' 'league' 'lean' 'learn' 'learning' 'least' 'leather' 'leave' 'left' 'leg' 'legacy' 'legal' 'legend' 'legislation' 'legitimate' 'lemon' 'length' 'less' 'lesson' 'let' 'letter' 'level' 'liberal' 'library' 'license' 'lie' 'life' 'lifestyle' 'lifetime' 'lift' 'light' 'like' 'likely' 'limit' 'limitation' 'limited' 'line' 'link' 'lip' 'list' 'loan' 'local' 'locate' 'location' 'lock' 'long' 'long-term' 'look' 'loose' 'lose' 'loss' 'lost' 'lot' 'lots' 'loud' 'love' 'lovely' 'lover' 'low' 'lower' 'luck' 'lucky' 'lunch' 'lung' 'machine' 'mad' 'magazine' 'mail' 'main' 'mainly' 'maintain' 'maintenance' 'major' 'majority' 'make' 'maker' 'makeup' 'male' 'mall' 'man' 'manage' 'management' 'manager' 'manner' 'manufacturer' 'manufacturing' 'many' 'map' 'margin' 'mark' 'market' 'marketing' 'marriage' 'married' 'marry' 'mask' 'mass' 'massive' 'master' 'match' 'material' 'math' 'matter' 'may' 'maybe' 'mayor' 'me' 'meal' 'mean' 'meaning' 'meanwhile' 'measure' 'meeting' 'member' 'membership' 'memory' 'mental' 'mention' 'menu' 'mere' 'merely' 'mess' 'message' 'metal' 'meter' 'method' 'Mexican' 'middle' 'might' 'military' 'milk' 'million' 'mind' 'mine' 'minister' 'minor' 'minority' 'minute' 'miracle' 'mirror' 'miss' 'missile' 'mission' 'mistake' 'mix' 'mixture' 'mm-hmm' 'mode' 'model' 'moderate' 'modern' 'modest' 'mom' 'moment' 'money' 'monitor' 'month' 'mood' 'moon' 'moral' 'more' 'moreover' 'morning' 'mortgage' 'most' 'mostly' 'mother' 'motion' 'motivation' 'motor' 'mount' 'mountain' 'mouse' 'mouth' 'move' 'movement' 'movie' 'much' 'multiple' 'murder' 'muscle' 'museum' 'music' 'musical' 'musician' 'Muslim' 'must' 'mutual' 'my' 'myself' 'mystery' 'myth' 'naked' 'name' 'narrative' 'narrow' 'nation' 'national' 'native' 'natural' 'neighbor' 'neighborhood' 'neither' 'nerve' 'nervous' 'net' 'network' 'never' 'nevertheless' 'new' 'newly' 'news' 'newspaper' 'next' 'nice' 'night' 'nine' 'no' 'nobody' 'nod' 'noise' 'nomination' 'none' 'nonetheless' 'nor' 'normal' 'normally' 'north' 'northern' 'nose' 'not' 'note' 'nothing' 'notice' 'notion' 'novel' 'now' 'nowhere' 'n’t' 'nuclear' 'number' 'numerous' 'nurse' 'nut' 'object' 'objective' 'obligation' 'observation' 'observe' 'observer' 'obtain' 'obvious' 'obviously' 'occasion' 'occasionally' 'occupation' 'occupy' 'occur' 'ocean' 'odd' 'odds' 'of' 'off' 'offense' 'offensive' 'offer' 'office' 'officer' 'official' 'often' 'oh' 'oil' 'ok' 'okay' 'old' 'Olympic' 'on' 'once' 'one' 'ongoing' 'onion' 'online' 'only' 'onto' 'open' 'opening' 'operate' 'operating' 'operation' 'operator' 'opinion' 'opponent' 'opportunity' 'oppose' 'opposite' 'opposition' 'option' 'or' 'orange' 'order' 'ordinary' 'organic' 'organization' 'organize' 'orientation' 'origin' 'original' 'outcome' 'outside' 'oven' 'over' 'overall' 'overcome' 'overlook' 'owe' 'own' 'owner' 'pace' 'pack' 'package' 'page' 'pain' 'painful' 'paint' 'painter' 'painting' 'pair' 'pale' 'Palestinian' 'palm' 'pan' 'panel' 'pant' 'paper' 'parent' 'park' 'parking' 'part' 'participant' 'participate' 'participation' 'particular' 'particularly' 'partly' 'partner' 'partnership' 'party' 'pass' 'passage' 'passenger' 'passion' 'past' 'patch' 'path' 'patient' 'pattern' 'pause' 'pay' 'payment' 'PC' 'peace' 'peak' 'peer' 'penalty' 'people' 'pepper' 'per' 'perceive' 'percentage' 'perception' 'perfect' 'perfectly' 'perform' 'performance' 'perhaps' 'period' 'permanent' 'permission' 'permit' 'person' 'personal' 'personality' 'personally' 'personnel' 'perspective' 'persuade' 'pet' 'phase' 'phenomenon' 'philosophy' 'phone' 'photo' 'photograph' 'photographer' 'phrase' 'physical' 'physically' 'physician' 'piano' 'pick' 'picture' 'pie' 'piece' 'pile' 'pilot' 'pine' 'pink' 'pipe' 'pitch' 'place' 'plan' 'plane' 'planet' 'planning' 'plant' 'plastic' 'plate' 'platform' 'play' 'player' 'please' 'pleasure' 'plenty' 'plot' 'plus' 'PM' 'pocket' 'poem' 'poet' 'poetry' 'point' 'pole' 'police' 'policy' 'political' 'politically' 'politician' 'politics' 'poll' 'pollution' 'pool' 'poor' 'pop' 'popular' 'population' 'porch' 'port' 'portion' 'portrait' 'portray' 'pose' 'position' 'positive' 'possess' 'possibility' 'possible' 'possibly' 'post' 'pot' 'potato' 'potential' 'potentially' 'pound' 'pour' 'poverty' 'powder' 'power' 'powerful' 'practical' 'practice' 'pray' 'prayer' 'precisely' 'predict' 'prefer' 'preference' 'pregnancy' 'pregnant' 'preparation' 'prepare' 'prescription' 'presence' 'present' 'presentation' 'preserve' 'president' 'presidential' 'press' 'pressure' 'pretend' 'pretty' 'prevent' 'previous' 'previously' 'price' 'pride' 'priest' 'primarily' 'primary' 'prime' 'principal' 'principle' 'print' 'prior' 'priority' 'prison' 'prisoner' 'privacy' 'private' 'probably' 'problem' 'procedure' 'proceed' 'process' 'produce' 'producer' 'product' 'production' 'profession' 'professional' 'professor' 'profile' 'profit' 'program' 'progress' 'project' 'prominent' 'promise' 'promote' 'prompt' 'proof' 'proper' 'properly' 'property' 'proportion' 'proposal' 'propose' 'proposed' 'prosecutor' 'prospect' 'protect' 'protection' 'protein' 'protest' 'proud' 'prove' 'provide' 'provider' 'province' 'provision' 'psychological' 'psychologist' 'psychology' 'public' 'publication' 'publicly' 'publish' 'publisher' 'pull' 'punishment' 'purchase' 'pure' 'purpose' 'pursue' 'push' 'put' 'qualify' 'quality' 'quarter' 'quarterback' 'question' 'quick' 'quickly' 'quiet' 'quietly' 'quit' 'quite' 'quote' 'reading' 'ready' 'real' 'reality' 'realize' 'really' 'reason' 'reasonable' 'recall' 'receive' 'recent' 'recently' 'recipe' 'recognition' 'recognize' 'recommend' 'recommendation' 'record' 'recording' 'recover' 'recovery' 'recruit' 'red' 'reduce' 'reduction' 'refer' 'reference' 'reflect' 'reflection' 'reform' 'refugee' 'refuse' 'regard' 'regarding' 'regardless' 'regime' 'region' 'regional' 'register' 'regular' 'regularly' 'regulate' 'regulation' 'reinforce' 'reject' 'relate' 'relation' 'relationship' 'relative' 'relatively' 'relax' 'release' 'relevant' 'relief' 'religion' 'religious' 'rely' 'remain' 'remaining' 'remarkable' 'remember' 'remind' 'remote' 'remove' 'repeat' 'repeatedly' 'replace' 'reply' 'report' 'reporter' 'represent' 'representation' 'representative' 'Republican' 'reputation' 'request' 'require' 'requirement' 'research' 'researcher' 'resemble' 'reservation' 'resident' 'resist' 'resistance' 'resolution' 'resolve' 'resort' 'resource' 'respect' 'respond' 'respondent' 'response' 'responsibility' 'responsible' 'rest' 'restaurant' 'restore' 'restriction' 'result' 'retain' 'retire' 'retirement' 'return' 'reveal' 'revenue' 'review' 'revolution' 'rhythm' 'rice' 'rich' 'rid' 'ride' 'round' 'route' 'routine' 'row' 'rub' 'rule' 'run' 'running' 'rural' 'rush' 'Russian' 'sacred' 'sad' 'safe' 'safety' 'sake' 'salad' 'salary' 'sale' 'sales' 'salt' 'same' 'sample' 'sanction' 'sand' 'satellite' 'satisfaction' 'satisfy' 'sauce' 'save' 'saving' 'say' 'scale' 'scandal' 'scared' 'scenario' 'scene' 'schedule' 'scheme' 'scholar' 'scholarship' 'school' 'science' 'scientific' 'scientist' 'scope' 'score' 'scream' 'screen' 'script' 'sea' 'search' 'season' 'seat' 'second' 'secret' 'secretary' 'section' 'sector' 'secure' 'security' 'see' 'seed' 'seek' 'seem' 'segment' 'seize' 'select' 'selection' 'self' 'sell' 'Senate' 'senator' 'send' 'senior' 'sense' 'sensitive' 'sentence' 'separate' 'sequence' 'series' 'serious' 'seriously' 'serve' 'service' 'session' 'set' 'setting' 'settle' 'settlement' 'seven' 'several' 'severe' 'sex' 'sexual' 'shade' 'shadow' 'shake' 'shall' 'shape' 'share' 'sharp' 'she' 'sheet' 'shelf' 'shell' 'shelter' 'shift' 'shine' 'ship' 'shirt' 'shock' 'shoe' 'shoot' 'shooting' 'shop' 'shopping' 'shore' 'short' 'shortly' 'shot' 'should' 'shoulder' 'shout' 'show' 'shower' 'shrug' 'shut' 'similar' 'similarly' 'simple' 'simply' 'sin' 'since' 'sing' 'singer' 'single' 'sink' 'sir' 'sister' 'sit' 'site' 'situation' 'six' 'size' 'ski' 'skill' 'skin' 'sky' 'slave' 'sleep' 'slice' 'slide' 'slight' 'slightly' 'slip' 'slow' 'slowly' 'small' 'smart' 'smell' 'smile' 'smoke' 'smooth' 'snap' 'snow' 'so' 'so-called' 'soccer' 'social' 'society' 'soft' 'software' 'soil' 'solar' 'soldier' 'solid' 'solution' 'solve' 'some' 'somebody' 'somehow' 'someone' 'something' 'sometimes' 'somewhat' 'somewhere' 'son' 'song' 'soon' 'sophisticated' 'sorry' 'sort' 'soul' 'sound' 'soup' 'source' 'south' 'southern' 'Soviet' 'space' 'Spanish' 'speak' 'speaker' 'special' 'specialist' 'species' 'specific' 'specifically' 'speech' 'speed' 'spend' 'spending' 'spin' 'spirit' 'spiritual' 'split' 'spokesman' 'sport' 'spot' 'spread' 'spring' 'square' 'squeeze' 'stability' 'stable' 'staff' 'stage' 'stair' 'stake' 'stand' 'standard' 'standing' 'star' 'still' 'stir' 'stock' 'stomach' 'stone' 'stop' 'storage' 'store' 'storm' 'story' 'straight' 'strange' 'stranger' 'strategic' 'strategy' 'stream' 'street' 'strength' 'strengthen' 'stress' 'stretch' 'strike' 'string' 'strip' 'stroke' 'strong' 'strongly' 'structure' 'struggle' 'student' 'studio' 'study' 'stuff' 'stupid' 'style' 'subject' 'submit' 'subsequent' 'substance' 'substantial' 'succeed' 'success' 'successful' 'successfully' 'suit' 'summer' 'summit' 'sun' 'super' 'supply' 'support' 'supporter' 'suppose' 'supposed' 'Supreme' 'sure' 'surely' 'surface' 'surgery' 'surprise' 'suspect' 'sustain' 'swear' 'sweep' 'sweet' 'swim' 'swing' 'switch' 'symbol' 'symptom' 'system' 'table' 'tablespoon' 'tactic' 'tail' 'take' 'tale' 'talent' 'talk' 'tall' 'tank' 'tap' 'tape' 'target' 'task' 'taste' 'tax' 'taxpayer' 'tea' 'teach' 'teacher' 'teaching' 'team' 'tear' 'teaspoon' 'technical' 'technique' 'technology' 'teen' 'teenager' 'telephone' 'telescope' 'television' 'tell' 'temperature' 'temporary' 'ten' 'tend' 'test' 'testify' 'testimony' 'testing' 'text' 'they' 'thick' 'thin' 'thing' 'think' 'thinking' 'third' 'thirty' 'this' 'those' 'though' 'thought' 'thousand' 'threat' 'threaten' 'three' 'throat' 'through' 'throughout' 'throw' 'thus' 'ticket' 'tie' 'tight' 'time' 'tiny' 'tip' 'tire' 'tired' 'tissue' 'title' 'to' 'tobacco' 'today' 'toe' 'together' 'tomato' 'tomorrow' 'tone' 'tongue' 'tonight' 'too' 'tool' 'tooth' 'top' 'topic' 'toss' 'total' 'totally' 'touch' 'tough' 'tour' 'tourist' 'tournament' 'toward' 'towards' 'tower' 'town' 'toy' 'trace' 'track' 'trade' 'tradition' 'traditional' 'traffic' 'tragedy' 'trail' 'train' 'tremendous' 'trend' 'trial' 'tribe' 'trick' 'trip' 'troop' 'trouble' 'truck' 'true' 'truly' 'trust' 'truth' 'try' 'tube' 'tunnel' 'turn' 'TV' 'twelve' 'twenty' 'twice' 'twin' 'two' 'type' 'typical' 'typically' 'unit' 'United' 'universal' 'universe' 'university' 'unknown' 'unless' 'unlike' 'unlikely' 'until' 'unusual' 'up' 'upon' 'valley' 'valuable' 'value' 'variable' 'variation' 'variety' 'view' 'viewer' 'village' 'violate' 'violation' 'violence' 'violent' 'virtually' 'virtue' 'virus' 'visible' 'vision' 'visit' 'visitor' 'visual' 'vital' 'voice' 'volume' 'volunteer' 'vote' 'voter' 'wash' 'waste' 'watch' 'water' 'wave' 'way' 'we' 'weak' 'wealth' 'wealthy' 'weapon' 'wear' 'weather' 'wedding' 'week' 'weekend' 'weekly' 'weigh' 'weight' 'welcome' 'welfare' 'well' 'west' 'western' 'wet' 'what' 'whatever' 'wheel' 'when' 'whenever' 'where' 'whereas' 'whether' 'which' 'while' 'whisper' 'white' 'who' 'whole' 'whom' 'whose' 'why' 'wide' 'widely' 'widespread' 'wife' 'wild' 'will' 'willing' 'win' 'wind' 'window' 'wine' 'wing' 'winner' 'winter' 'wipe' 'withdraw' 'within' 'without' 'witness' 'woman' 'wonder' 'wonderful' 'wood' 'wooden' 'word' 'work' 'worker' 'working' 'works' 'workshop' 'world' 'worried' 'worry' 'worth' 'would' 'wound' 'wrap' 'yield' 'you' 'young' 'your' 'yours' 'yourself' 'youth' 'zone'};\r\nletter = 'c';\r\n[y1,y2] = addCetc(WORDS,letter);\r\ny1_correct = {'enter' 'fat' 'hair' 'lean' 'loud' 'math' 'one' 'over' 'path' 'sale' 'up'};\r\ny2_correct = {'center' 'fact' 'chair' 'clean' 'cloud' 'match' 'once' 'cover' 'patch' 'scale' 'cup'};\r\nassert(isequal(y1,y1_correct) \u0026\u0026 isequal(y2,y2_correct))","published":true,"deleted":false,"likes_count":4,"comments_count":4,"created_by":46909,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":13,"test_suite_updated_at":"2021-05-06T02:50:12.000Z","rescore_all_solutions":true,"group_id":1,"created_at":"2021-05-04T03:46:54.000Z","updated_at":"2025-07-18T20:09:00.000Z","published_at":"2021-05-04T03:54:50.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eWith this problem, I have added 100 to Cody. In a way, this problem asks you to add 100 as well. \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eWrite a function to add C, the Roman numeral for 100, to one word in a list to make another word in the list. For example, you can add C to “hair” to make “chair” or to “lie” to make “lice”, assuming that all of these words are in the list. Add only one C but consider target words with multiple C’s—e.g., you can add a C to “scare” to make “scarce”. The function should return a cell array \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:rFonts w:cs=\\\"monospace\\\"/\u003e\u003c/w:rPr\u003e\u003cw:t\u003ey1\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e with a list of original words sorted alphabetically and a corresponding cell array \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:rFonts w:cs=\\\"monospace\\\"/\u003e\u003c/w:rPr\u003e\u003cw:t\u003ey2\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e with a list of words with the letter added.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e(And if you are going to go through the trouble of writing the code for C, you might as well make it work for any letter used in English.)\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eAlthough 100 is an \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:hyperlink w:docLocation=\\\"https://static.simpsonswiki.com/images/thumb/9/97/Sweet_Seymour_Skinner%27s_Baadasssss_Song_-_chalkboard_gag.png/300px-Sweet_Seymour_Skinner%27s_Baadasssss_Song_-_chalkboard_gag.png\\\"\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:u/\u003e\u003c/w:rPr\u003e\u003cw:t\u003earbitrary milestone\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:hyperlink\u003e\u003cw:r\u003e\u003cw:t\u003e, it’s as good a time as any to express gratitude to MathWorks and the Cody community. Thanks to all of you for solving my problems, challenging us with your own problems, and helping me improve my own programming and problem solving. \u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"}],"term":"tag:\"gratitude\"","current_player_id":null,"fields":[{"name":"page","type":"integer","callback":null,"default":1,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":null,"static":null,"prepend":true},{"name":"per_page","type":"integer","callback":null,"default":50,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":null,"static":null,"prepend":true},{"name":"sort","type":"string","callback":null,"default":null,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":null,"static":null,"prepend":true},{"name":"body","type":"text","callback":null,"default":"*:*","directive":null,"facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":false},{"name":"group","type":"string","callback":null,"default":null,"directive":"group","facet":true,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"difficulty_rating_bin","type":"string","callback":null,"default":null,"directive":"difficulty_rating_bin","facet":true,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"id","type":"integer","callback":null,"default":null,"directive":"id","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"tag","type":"string","callback":null,"default":null,"directive":"tag","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"product","type":"string","callback":null,"default":null,"directive":"product","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"created_at","type":"timeframe","callback":{},"default":null,"directive":"created_at","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"profile_id","type":"integer","callback":null,"default":null,"directive":"author_id","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"created_by","type":"string","callback":null,"default":null,"directive":"author","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"player_id","type":"integer","callback":null,"default":null,"directive":"solver_id","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"player","type":"string","callback":null,"default":null,"directive":"solver","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"solvers_count","type":"integer","callback":null,"default":null,"directive":"solvers_count","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"comments_count","type":"integer","callback":null,"default":null,"directive":"comments_count","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"likes_count","type":"integer","callback":null,"default":null,"directive":"likes_count","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"leader_id","type":"integer","callback":null,"default":null,"directive":"leader_id","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"leading_solution","type":"integer","callback":null,"default":null,"directive":"leading_solution","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true}],"filters":[{"name":"asset_type","type":"string","callback":null,"default":null,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":null,"static":"\"cody:problem\"","prepend":true},{"name":"profile_id","type":"integer","callback":{},"default":null,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":"author_id","static":null,"prepend":true}],"query":{"params":{"per_page":50,"term":"tag:\"gratitude\"","current_player":null,"sort":"map(difficulty_value,0,0,999) asc"},"parser":"MathWorks::Search::Solr::QueryParser","directives":{"term":{"directives":{"tag":[["tag:\"gratitude\"","","\"","gratitude","\""]]}}},"facets":{"#\u003cMathWorks::Search::Field:0x00007f6cafa2d7a8\u003e":null,"#\u003cMathWorks::Search::Field:0x00007f6cafa2d708\u003e":null},"filters":{"#\u003cMathWorks::Search::Field:0x00007f6cafa2cda8\u003e":"\"cody:problem\""},"fields":{"#\u003cMathWorks::Search::Field:0x00007f6cafa2db68\u003e":1,"#\u003cMathWorks::Search::Field:0x00007f6cafa2dac8\u003e":50,"#\u003cMathWorks::Search::Field:0x00007f6cafa2da28\u003e":"map(difficulty_value,0,0,999) asc","#\u003cMathWorks::Search::Field:0x00007f6cafa2d988\u003e":"tag:\"gratitude\""},"user_query":{"#\u003cMathWorks::Search::Field:0x00007f6cafa2d988\u003e":"tag:\"gratitude\""},"queried_facets":{}},"query_backend":{"connection":{"configuration":{"index_url":"http://index-op-v2/solr/","query_url":"http://search-op-v2/solr/","direct_access_index_urls":["http://index-op-v2/solr/"],"direct_access_query_urls":["http://search-op-v2/solr/"],"timeout":10,"vhost":"search","exchange":"search.topic","heartbeat":30,"pre_index_mode":false,"host":"rabbitmq-eks","port":5672,"username":"cody-search","password":"78X075ddcV44","virtual_host":"search","indexer":"amqp","http_logging":"true","core":"cody"},"query_connection":{"uri":"http://search-op-v2/solr/cody/","proxy":null,"connection":{"parallel_manager":null,"headers":{"User-Agent":"Faraday v1.0.1"},"params":{},"options":{"params_encoder":"Faraday::FlatParamsEncoder","proxy":null,"bind":null,"timeout":null,"open_timeout":null,"read_timeout":null,"write_timeout":null,"boundary":null,"oauth":null,"context":null,"on_data":null},"ssl":{"verify":true,"ca_file":null,"ca_path":null,"verify_mode":null,"cert_store":null,"client_cert":null,"client_key":null,"certificate":null,"private_key":null,"verify_depth":null,"version":null,"min_version":null,"max_version":null},"default_parallel_manager":null,"builder":{"adapter":{"name":"Faraday::Adapter::NetHttp","args":[],"block":null},"handlers":[{"name":"Faraday::Response::RaiseError","args":[],"block":null}],"app":{"app":{"ssl_cert_store":{"verify_callback":null,"error":null,"error_string":null,"chain":null,"time":null},"app":{},"connection_options":{},"config_block":null}}},"url_prefix":"http://search-op-v2/solr/cody/","manual_proxy":false,"proxy":null},"update_format":"RSolr::JSON::Generator","update_path":"update","options":{"url":"http://search-op-v2/solr/cody"}}},"query":{"params":{"per_page":50,"term":"tag:\"gratitude\"","current_player":null,"sort":"map(difficulty_value,0,0,999) asc"},"parser":"MathWorks::Search::Solr::QueryParser","directives":{"term":{"directives":{"tag":[["tag:\"gratitude\"","","\"","gratitude","\""]]}}},"facets":{"#\u003cMathWorks::Search::Field:0x00007f6cafa2d7a8\u003e":null,"#\u003cMathWorks::Search::Field:0x00007f6cafa2d708\u003e":null},"filters":{"#\u003cMathWorks::Search::Field:0x00007f6cafa2cda8\u003e":"\"cody:problem\""},"fields":{"#\u003cMathWorks::Search::Field:0x00007f6cafa2db68\u003e":1,"#\u003cMathWorks::Search::Field:0x00007f6cafa2dac8\u003e":50,"#\u003cMathWorks::Search::Field:0x00007f6cafa2da28\u003e":"map(difficulty_value,0,0,999) asc","#\u003cMathWorks::Search::Field:0x00007f6cafa2d988\u003e":"tag:\"gratitude\""},"user_query":{"#\u003cMathWorks::Search::Field:0x00007f6cafa2d988\u003e":"tag:\"gratitude\""},"queried_facets":{}},"options":{"fields":["id","difficulty_rating"]},"join":" "},"results":[{"id":51675,"difficulty_rating":"easy-medium"}]}}