HW3 Due: Divide-Conquer-Glue

Total Page:16

File Type:pdf, Size:1020Kb

HW3 Due: Divide-Conquer-Glue Name: 100 points total CSE 3353 Homework 3 Fall 2014 Assignment is due at 11am on October 23. Submit a scanned copy of the non-coding portion of the assignment to Scoryst. Turn in a copy of the code and outputs in a .zip file on Blackboard. The Python file for Q1 must be named countinvert.py, and you must not modify the names of any of the given functions or their defined parameters. You may add your own functions as you see fit. Any outputs from running the code should be included in files called countinvert output.txt, also included in the zip file. Both of these files must be included in a directory called LastnameFirstname. Please write your name(s) as a comment in the first line of code in the python files and output files. If you are working with a partner, turn in one set of code and one set of answers for questions Q2–Q7. You may choose to work with a partner on the code questions, the written questions, or both. PLEASE NOTE: If you worked with a partner on HW2, you may work with a partner again, but it must be a different partner than for HW2. You may submit a lateness coupon request BEFORE the assignment is due by sending a private Piazza message with Subject “CSE3353 Lateness Coupon”. All other late work will receive a 10 percentage point deduction per day (including weekends), No late work is accepted beyond one week after the assignment is due. Q1 (50) Q2 (10) Q3 (8) Q4 (8) Q5 (12) Q6 (10) Q7 (2) Total (100) 1 Q1. (50 points) Your task is to write code to solve the count inversions problem, as explained in Section 5.3 of Algorithm De- sign. The code should operate in Θ(n log n) time and be implemented using a divide-conquer-glue strategy. Down- load starter code from http://lyle.smu.edu/˜tylerm/courses/cse3353/code/countinvert_ starter.txt. Name the file countinvert.py and leave the function names unchanged. In particular, your code should print out the inverted elements as they are encountered. The function should execute successfully the code inside the if name ==¨ main ¨ clause. Include output from running the code in countinvert output.txt. The output should adhere to the following form: $ python countinvert_sol.py [7, 10, 18, 3, 14, 17, 23, 2, 11, 16] 3 conflicts with 18 14 conflicts with 18 3 conflicts with 7, 10 2 conflicts with 17, 23 11 conflicts with 17, 23 16 conflicts with 17, 23 2 conflicts with 3, 7, 10, 14, 18 11 conflicts with 14, 18 16 conflicts with 18 17 conflicts with 18 # Inversions: 19 ... [(3, ’The Lumineers: Ho Hey’), (4, ’Adele: Chasing Pavements’), (2, ’Jimi Hendrix: Voodoo Chile’), (1, "Stevie Ray Vaughan: Couldn’t Stand the Weather"), (8, ’Coldplay: Clocks’), (6, ’Aretha Franklin: I Will Survive’), (5, ’Cake: I Will Survive’), (7, ’Beyonce: All the Single Ladies’), (9, ’Nickelback: Gotta be Somebody’), (10, ’Garth Brooks: Friends in Low Places’)] (1, "Stevie Ray Vaughan: Couldn’t Stand the Weather") conflicts with (2, ’Jimi Hendrix: Voodoo Chile’) (1, "Stevie Ray Vaughan: Couldn’t Stand the Weather") conflicts with (3, ’The Lumineers: Ho Hey’), (4, ’Adele: Chasing Pavements’) (2, ’Jimi Hendrix: Voodoo Chile’) conflicts with (3, ’The Lumineers: Ho Hey’), (4, ’Adele: Chasing Pavements’) (5, ’Cake: I Will Survive’) conflicts with (6, ’Aretha Franklin: I Will Survive’) (5, ’Cake: I Will Survive’) conflicts with (8, ’Coldplay: Clocks’) (6, ’Aretha Franklin: I Will Survive’) conflicts with (8, ’Coldplay: Clocks’) (7, ’Beyonce: All the Single Ladies’) conflicts with (8, ’Coldplay: Clocks’) # Inversions: 9 Please note: you may not consult online resources displaying Python code implementing a solution to the count inversions problem. Doing so will be considered cheating, and dealt with accordingly. 2 Q2. (10 points) Consider the following directed graph G and its transpose: Graph G Transpose(G) a b c d a b c d h g f e h g f e The topological sort of G is [g, a, b, c, d, f, e, h]. Using Kosaruju’s algorithm for finding strongly connected components, list the strongly connected components of G in the order in which they are discovered. 3 Q3. (8 points) def mySort(seq ): prev = seq[0] noconf = True f o r e l t in seq : i f e l t < prev : noconf = False break prev = e l t i f noconf : return seq f o r i in range ( l e n ( seq ) ) : j = i while j >0 and seq [ j ]< seq [ j −1]: seq[j],seq[j −1]= seq [ j −1] , seq [ j ] j =j −1 return seq a. What is the best-case performance for mySort? Given an example input that attains the best-case performance. b. What is the worst-case performance for mySort? Give an example input that attains the worst-case perfor- mance. 4 Q4. (8 points) a. Suppose you are using a Quicksort algorithm that always selects the first value in the list as pivot. Give an example input sequence that takes Θ(n2) time to complete. b. Suppose quicksort could always pivoted on the median of the current sublist. How many comparisons would Quicksort make then in the worst case? 5 Q5. (12 points) Use the master theorem to give tight asymptotic bounds for the following recurrences: n a. T (n) = 2T ( 2 ) + 7n n 2 b. T (n) = 2T ( 2 ) + n n c. T (n) = 3T ( 2 ) + 2n n 2 d. T (n) = 7T ( 3 ) + 4n 6 Q6. (10 points) Consider the following recursive function. def myFun(seq ): i f l e n ( seq )==1: return seq [ 0 ] l e = l e n ( seq ) / 3 lo, mid, hi = seq[:le], seq[le:2 ∗ l e ] , seq [2∗ l e : ] plo = myFun(lo) pmid = myFun(mid) phi = myFun(hi) t o t a l =0 f o r x in plo+pmid+phi : f o r y in plo+pmid+phi : t o t a l +=x∗y return t o t a l a. Write a recurrence relation for myFun. b. Use the master theorem to obtain a tight asymptotic bound for myFun. Q7. (2 points) How long (in hours) did you spend on this assignment? Please estimate separately how long you spent on programming (Q1) and the other questions (Q2–Q6) (full credit for any truthful answer) 7.
Recommended publications
  • Hamburgs Top-821-Hitliste
    Hamburgs Top‐821‐Hitliste Rang Wird wann gespielt? Name des Songs Interpret 821 2010‐04‐03 04:00:00 EVERYBODY (BACKSTREET'S BACK) BACKSTREET BOYS 820 2010‐04‐03 04:03:41 GET MY PARTY ON SHAGGY 819 2010‐04‐03 04:07:08 EIN EHRENWERTES HAUS UDO JÜRGENS 818 2010‐04‐03 04:10:34 BOAT ON THE RIVER STYX 817 2010‐04‐03 04:13:41 OBSESSION AVENTURA 816 2010‐04‐03 04:27:15 MANEATER DARYL HALL & JOHN OATES 815 2010‐04‐03 04:31:22 IN MY ARMS KYLIE MINOGUE 814 2010‐04‐03 04:34:52 AN ANGEL KELLY FAMILY 813 2010‐04‐03 04:38:34 HIER KOMMT DIE MAUS STEFAN RAAB 812 2010‐04‐03 04:41:47 WHEN DOVES CRY PRINCE 811 2010‐04‐03 04:45:34 TI AMO HOWARD CARPENDALE 810 2010‐04‐03 04:49:29 UNDER THE SURFACE MARIT LARSEN 809 2010‐04‐03 04:53:33 WE ARE THE PEOPLE EMPIRE OF THE SUN 808 2010‐04‐03 04:57:26 MICHAELA BATA ILLC 807 2010‐04‐03 05:00:29 I NEED LOVE L.L. COOL J. 806 2010‐04‐03 05:03:23 I DON'T WANT TO MISS A THING AEROSMITH 805 2010‐04‐03 05:07:09 FIGHTER CHRISTINA AGUILERA 804 2010‐04‐03 05:11:14 LEBT DENN DR ALTE HOLZMICHEL NOCH...? DE RANDFICHTEN 803 2010‐04‐03 05:14:37 WHO WANTS TO LIVE FOREVER QUEEN 802 2010‐04‐03 05:18:50 THE WAY I ARE TIMBALAND FEAT. KERI HILSON 801 2010‐04‐03 05:21:39 FLASH FOR FANTASY BILLY IDOL 800 2010‐04‐03 05:35:38 GIRLFRIEND AVRIL LAVIGNE 799 2010‐04‐03 05:39:12 BETTER IN TIME LEONA LEWIS 798 2010‐04‐03 05:42:55 MANOS AL AIRE NELLY FURTADO 797 2010‐04‐03 05:46:14 NEMO NIGHTWISH 796 2010‐04‐03 05:50:19 LAUDATO SI MICKIE KRAUSE 795 2010‐04‐03 05:53:39 JUST SAY YES SNOW PATROL 794 2010‐04‐03 05:57:41 LEFT OUTSIDE ALONE ANASTACIA 793
    [Show full text]
  • Complete the Articles About John Lennon and Adele Using the Verbs from the Tables
    Complete the articles about John Lennon and Adele using the verbs from the tables. Decide if the verbs should be written in either the Past Simple or Present Perfect tenses: 1. John Lennon (1940 ~ 1980) receive have become inspire release join last cause record move release depict teach start break up leave die win change release John Lennon was born in 1940 in Liverpool, England. Lennon’s mother, Julia, (a) taught John how to play instruments such as the piano, guitar, and banjo when he was a child. Elvis Presley’s popularity in the USA during the late 50s (b) John to form a rock band called the “Quarry Men” when he was 16 years old. Paul McCartney and George Harrison later (c) . The band (d) their name to the “Beatles” in 1960. The band (e) success in Britain for two years, but things changed in 1964, when the Beatles (f) the first British band in history to have commercial success in the United States. The Beatles (g) several albums, hit songs and even films for ten years (1960 to 1970). In 1970, the band (h) . Lennon’s relationship with his wife, Japanese artist Yoko Ono, (i) tensions within the group. In ten years, the Beatles (j) twelve albums and twenty-two singles. They (k) seven Grammy awards. After the band stopped playing, Lennon immediately (l) a solo career. In 1971, he (m) h is most famous album, “Imagine”. Also in 1971, Lennon and Ono (n) to the US where John became one of the country’s most outspoken opponents of the country’s participation in the Vietnam War.
    [Show full text]
  • Tal, Tendenser, Markedsstatistik Og Analyser + Artikler Om Den Danske
    STATUS 2008/09: UAFHÆNGIGE SELSKABER 04 MODSÆTNINGERNES ÅR 20 UNDER DIGITALT PRES IFPI’s formand, Henrik Daldorph, ser Væksten i det digitale marked presser Tal, tendenser, markedsstatistik og tilbage på markante begivenheder for den uafhængige sektor, som i 2008 havde analyser + artikler om den danske pladebranchen i 2008 og første halvdel af tilbagegang. Vi analyserer udviklingen. pladebranche 2008/09 2009. Fra den nye oplevelseszone til dom- men i The Pirate Bay-sagen. FREELANCERE I 30 MUSIKBRANCHEN KUNSTNERNE HAR STADIG Pladebranchen omfatter hundredvis af 14 BRUG FOR ET PLADESELSKAB arbejdspladser. De senere års omfattende Interview med en af pladebranchens suc- forandringer har skabt helt nye struktu- cesfulde ledere Jakob Sørensen, direktør rer – og en lang række nye virksomheder, for Copenhagen Records. Om hvad kunst- der fungerer som underleverandører til nere skal bruge et pladeselskab til i 2009. den etablerede del af branchen. Vi ser Om manglende skarphed i branchen. Og nærmere på freelancemarkedet. om forventningerne til fremtiden. Og så får vi historien om Alphabeats internationale succes. Plus: Hitlisterne 2008 / Guld- & platincertificeringer 2008 / DMA09 og meget mere Foto: Kristian Holm PLADEBRANCHEN.08 Velkommen til Pladebranchen.08 f Vi har forud for udarbejdelsen af IFPI’s femte årsskrift I et længere interview fortæller Jakob Sørensen fra Copen- overvejet grundigt, om vi skulle kalde det noget andet end hagen Records således bl.a. om selskabets arbejde med ”Pladebranchen.08”, fordi vores medlemmer, der pt. står for en af de største, danske succeshistorier i nyere tid – Alpha- ca. 95 % af omsætningen af indspillet musik i Danmark, i beat – og om hvorfor kunstnere stadig kan have glæde stadigt højere grad beskæftiger sig med alt muligt andet end af et pladeselskab i 2009.
    [Show full text]
  • Hometown Glory from the Album "Chasing Pavements"
    Hometown Glory From the album "Chasing Pavements" Words and Music by Adele Adkins Transcribed by Morten Ravn Hansen Bbsus2 Ab(' 9) Fm Gbma7 Bbm Ab(' 9) Fm7 Gbma7 5 Bbm Ab Fm7 Gb(' 9) Bbm Ab(' 9) Fm Gb(' 9) 9 Bbm Ab Fm Gb(' 9) Bbm Ab(' 9) Fm7 Gb' 9(#11) 13 Bbm Bbm/ab Db/f 1. 2. 16 Gbma7 Gbma7 Bbm 1.I've been walk -in' in the same way 2 19 Bbm/ab Db/f Gbma7 as I did. And 22 Bbm Bbm/ab Db/f 3 miss- ing out the cracks in the pave - ment and tut -tin' my heel and strut -tin' my 25 Gbma7 Bbm Bbm/ab feet. "Is there a -ny - thing I can do for you dear? Is there 28 Db/f Gbma7 Bbm 3 a- ny - one I could call?" "No and thank you, please, 31 Bbm/ab Db/f Gbma7 3 ma -dam. I ain't lost just wan -der ing. Round my 3 35 Bbm Bbm/ab Db/f home - town, me - mo - ri -es fresh. 38 Gbma7 Bbm Bbm/ab Roundmy home - town, uhh, the Bbm 41 Db/f Gbma7 3 peo -ple I've met. Are the won -ders of my Db/f 44 Bbm/ab 3 Gbma7 world. Are the won -ders of my world. Are the Bbm 47 3 Bbm/ab Db/f Gbma7 3 won -ders of this world Are the won -ders of my world. I 4 51 Bbm Bbm/ab Db/f like it in the ci -ty when the air is so thick and o - 54 Gbma7 Bbm Bbm/ab - paque.
    [Show full text]
  • Night Shift Songlist
    NIGHT SHIFT SONGLIST U2 All I Want Is You BALLADS John Legend All Of Me Stevie Wonder As Brian McKnight Back At One Jack Johnson Banana Pancakes John Lennon Beautiful Boy Celine Dion Because You Loved Me Gladys Knight Best Thing That Ever Happened Jack Johnson Better Together Bruce Springsteen Book Of Dreams Bob Carlisle Butterfly Kisses Sade By Your Side Elton John Can You Feel The Love Tonight Eric Clapton Change The World Adele Chasing Pavements Nora Jones Come Away With Me Edwin McCain Could Not Ask For More Van Morrison Crazy Love Luther Vandross Dance With My Father Nora Jones Don't Know Why Richie and Ross Endless Love Bryan Adams Everything I Do, I Do It For You Lauren Wood Fallen Alicia Keys Fallin' Bonnie Raitt Feels Like Home Genesis Follow You, Follow Me Steve Perry Foolish Heart Kelly Clarkson For A Moment Like This Isley Brothers For The Love Of You Ben Harper Forever Mary Chapin Carpenter Grow Old Along With Me John Hiatt Have A Little Faith In Me Van Morrison Have I Told You Lately Adele Hello Luther Vandross Here And Now Beatles Here, There and Everywhere Mariah Carey Hero Michael Buble Home Bee Gees How Deep Is Your Love Four Tops/W. Houston I Believe In You And Me Elvis Presley I Can't Help Falling In Love Eagles I Can't Tell You Why Beatles I Will Whitney Houston I Will Always Love You Rod Stewart I Wish You Love Jason Mraz I Won't Give Up Edwin McCain I'll Be Mariah Carey I'll Be There Pretenders I'll Stand By You Alicia Keys If I Ain't Got You Bruce Springsteen If I Should Fall Behind Peter Gabriel In Your Eyes Van Morrison Into The Mystic Grover Washington Just The Two Of Us Billy Joel Just The Way You Are Tracey Byrd Keeper Of The Stars Stevie Nicks Landslide Al Green Let's Stay Together Corinne Bailey Rae Like A Star Meghan Trainor Ft.
    [Show full text]
  • Appendices 1 Hello Hello, It's Me I Was Wondering If After All These
    Appendices 1 Hello Hello, it’s me I was wondering if after all these years you’d like to meet To go over everything They say that time’s supposed to heal ya But I ain’t done much healing Hello, can you hear me I’m in California dreaming about who we used to be When we were younger and free I’ve forgotten how it felt before the world fell at our feet There’s such a difference between us And a million miles Hello from the other side I must have called a thousand times To tell you I’m sorry for everything that I’ve done But when I call you never seem to be home Hello from the outside At least I can say that I’ve tried To tell you I’m sorry for breaking your heart But it doesn’t matter it clearly doesn’t tear you apart anymore Hello, how are you It’s so typical of me to talk about myself I’m sorry I hope that you’re well Did you ever make it out of that town where nothing ever happened It’s no secret that the both of us Are running out of time So hello from the other side I must have called a thousand times To tell you I’m sorry for everything that I’ve done But when I call you never seem to be home Hello from the outside At least I can say that I’ve tried To tell you I’m sorry for breaking your heart But it doesn’t matter it clearly doesn’t tear you apart anymore (Highs highs highs highs Lows lows lows lows x4) Hello from the other side I must have called a thousand times To tell you I’m sorry for everything that I’ve done But when I call you never seem to be home Hello from the outside At least I can say that I’ve tried To tell you I’m sorry
    [Show full text]
  • Adele Set for Chart Glory
    Jul 07, 2008 08:43 EDT Adele set for chart glory London, 07 July 2008 - With more than one million tracks Tagged each week by Shazam users; the world's leading mobile to web music services provider, Shazam unveils a weekly UK Top 40 Tag Chart - a strong indicator of future hit singles. London singing sensation Adele looks set to have a summer hit with her single Hometown Glory. Entering the Shazam Tag Chart at number 12, two weeks ahead of its official release on July 21st, Hometown Glory is predicted to repeat the success of Chasing Pavements. After featuring in the closing credits of Wimbledon, Jamie Cullum scores a drop shot in the Shazam Tag Chart with his 2004 track These Are The Days entering at number nine. DJ Ironik tops the chart this week with his single Stay With Me and making up the rest of the top five are Australian Gabriella Cilmi, Norwegian due Madcon, Kid Rock and Dizzee Rascal. Shazam's chart for Monday 30th June to Monday 7th July 2008 is based on thousands of music fans across the UK using the Shazam to 'Tag' their favourite tunes with their mobile phone. To Tag a track, you simply hold your phone to the music to learn the name of the track and the artist, get cover art, reviews, recommendations and buy the song. To see how easy it is to discover music with Shazam, you can download ShazamiD by simply texting SMART to 80805, visit shazam.com or try it out by dialling 2580 This week's Shazam Tag Chart Positio Artist Title Label Release n Date 1 DJ Ironik Stay With Me Asylum 30 June 2008 2 Gabriella Cilmi Sweet About Me Island 9 June 2008 3 Madcon Beggin' Sony BMG 28 July 2008 4 Kid Rock All Summer Atlantic 14 July Long 2008 5 Dizzee Rascal Feat.
    [Show full text]
  • Karaoke English
    KARAOKE ENGLISH 10CC - I-M NOT IN LOVE 10CC- THINGS WE DO FOR LOVE 112 - U ALREADY KNOW 2 Il Volo e Mario Biondi My Way +++++ 24KGOLDN - CITY OF ANGELS 2PAC - ALL EYEZ ON ME 3 DOORS DOWN - HERE WITHOUT YOU 3 DOORS DOWN - IT´S NOT MY TIME 3 DOORS DOWN - KRYPTONITE 3 DOORS DOWN - WHEN I'M GONE 3OH! 3 - DON-T TRUST ME 4 NON BLONDES - WHAT'S UP 4 SEASONS - DECEMBER, 1963 (OH, WHAT A NIGHT) 411 - DUMB 411 - ON MY KNEES 42ND STREET - 42ND STREET 42ND STREET - WE-RE IN THE MONEY 5 SECONDS OF SUMMER - SHE LOOKS SO PERFECT 5 SECONDS OF SUMMER - SHE-S KINDA HOT 5 SECONDS OF SUMMER - YOUNGBLOOD 50 CENT - IN DA CLUB 911 - A LITTLE BIT MORE 911 - HOW DO YOU WANT ME TO LOVE YOU 911 - PRIVATE NUMBER 98 DEGREES BECAUSE OF YOU 98 DEGREES THIS GIFT 98 DEGREES - GIVE ME JUST ONE NIGHT www.discoykaraokemovil.es TLF.: 615497575 1 KARAOKE ENGLISH 98 DEGREES - I DO 98 DEGREES - THE HARDEST THING 98 DEGREES - TRUE TO YOUR HEART Stevie Wonder 99 RED BALLOONS - NENA 99 SOULS FT. BRANDY & BEYONCE - THE GIRL IS MINE A FINE FRENZY - ALMOST LOVER A FLOCK OF SEAGULLS THE MORE YOU LIVE THE MORE YOU LOVE A FLOCK OF SEAGULLS - I RAN (SO FAR AWAY) A FRIEND - KENO REUPLOADED A HA - HUNTING HIGH AND LOW A HA - TAKE ON ME A LITTLE RESPECT - WHEATUS A-HA - TAKE ON ME A.R. RAHMAN & THE PUSSYCAT DOLLS - JAI HO A1 - SAME OLD BRAND NEW YOU AALIYAH - I DON´T WANNA AALIYAH - MISS YOU AALIYAH - TRY AGAIN AARON GOODVIN - LONELY DRUM AARON LEWIS - GRANDDADDY-S GUN AARON LINES - YOU CAN-T HIDE BEAUTIFUL AARON NEVILLE - EVERYBODY PLAYS THE FOOL AARON TIPPIN - I GOT IT HONEST AARON TIPPIN
    [Show full text]
  • Skicrossfahrer Ist
    Unterrichtseinheiten Niveau I/II Fremdsprachen Das ist unser Leben! Freizeitgestaltung Jugendlicher in Europa Auseinandersetzung mit jugendtypischen Freizeitbeschäftigungen im europäischen Vergleich Vielfalt in Europa (er)leben erarbeitet von Brigita Kacjan, Tatjana Lubej, Saša Jazbec 2019, ImTeaM4EU/SDUNJ, Düsseldorf, Maribor Das Werk und seine Teile sind urheberrechtlich geschützt. Das ist unser Leben! Freizeitgestaltung Jugendlicher in Europa Das ist unser Leben! Freizeitgestaltung Jugendlicher in Europa (D) Auseinandersetzung mit jugendtypischen Freizeitbeschäftigungen im europäischen Vergleich erarbeitet von Saša Jazbec, Tatjana Lubej, Brigita Kacjan INHALTSVERZEICHNIS Lehrerinformation 3 Timeline 4 Einführung Erarbeitung Vertiefung Präsentation Quellen 7 Arbeitsblätter 8 Materialiensammlung 28 Kompetenzen 47 Zuordnung zum Exzerpt 49 2 Unterrichtseinheiten Niveau I/II Fremdsprachen Das ist unser Leben! Freizeitgestaltung Jugendlicher in Europa Auseinandersetzung mit jugendtypischen Freizeitbeschäftigungen im europäischen Vergleich Lehrerinformation Vielfalt in Europa (er)leben erarbeitet von Brigita Kacjan, Tatjana Lubej, Saša Jazbec Das ist unser Leben! Freizeitgestaltung Jugendlicher in Europa Timeline I. Einführung Was essen wir in der Europäischen Union? Die Schülerinnen und Schüler lernen einen slowenischen Spitzensportler, sein Leben sowie die Textsorte Interview kennen. D ie Lernaufgabe: Das Leben jedes Menschen besteht aus Arbeit/Schule, Schlafen und Freizeit. Wie sieht denn die Freizeitgestaltung von Jugendlichen in Europa
    [Show full text]
  • Michelle Mutyora Backing Track List
    MICHELLE MUTYORA BACKING TRACK LIST Song Title Artist Dancing Queen ABBA The Winner Takes It All ABBA Chasing Pavements Adele Hello Adele Make you Feel my Love Adele Rolling in the Deep Adele Send My Love Adele Set Fire to the Rain Adele Someone Like You Adele Let’s Stay Together Al Green Happiness Alexis Jordan Brand New Me Alicia Keys Empire State of Mind (Pt. 2) Alicia Keys Fallin’ Alicia Keys Girl on Fire Alicia Keys If I Ain’t Got You Alicia Keys No One Alicia Keys Superwoman Alicia Keys He Can Only Hold Her Amy Winehouse Valerie Amy Winehouse What it is Amy Winehouse Ain’t No Way Aretha Franklin Natural Woman Aretha Franklin Respect Aretha Franklin Think Aretha Franklin God is A Woman Ariana Grande 2 [Type text] Into You Ariana Grande Love Me Harder Ariana Grande One Last Time Ariana Grande The Way Ariana Grande Somewhere Over the Rainbow Ariana Grande version Bang Bang Ariana Grande, Jessie J, Nicki Minaj Don’t Rain on My Parade Barbara Streisand My Man Barbara Streisand 1 + 1 Beyoncé Ave Maria Beyoncé Best Thing I Never Had Beyoncé Countdown Beyoncé Crazy in Love Beyoncé Déjà vu Beyoncé End of Time Beyoncé Get Me Bodied Beyoncé Halo Beyoncé I Care Beyoncé I Miss You Beyoncé Listen Beyoncé Love on Top Beyoncé Party Beyoncé Sweet Dreams Beyoncé People Help the People Birdy Shelter Birdy Skinny Love Birdy Without A Word Birdy MICHELLE MUTYORA BACKING TRACK LIST Is This Love Bob Marley 24K Magic Bruno Mars Finesse Bruno Mars Treasure Bruno Mars Uptown Funk Bruno Mars Here’s Where I Stand Camp Young Hearts Run Free Candi Staton My
    [Show full text]
  • CS 2123 Homework 4 Coding Question
    CS 2123 Homework 4 Coding Question Q1. (50 points) Your task is to write code to solve the count inversions problem, as explained in Section 5.3 of Algorithm Design. The code should operate in Θ(n log n) time and be implemented using a divide-conquer-glue strategy. Download starter code from http://secon.utulsa.edu/cs2123/code/countinvert_starter.py. Name the file countinvert.py and leave the function names unchanged. In particular, your code should print out the inverted elements as they are encountered. The function should execute successfully the code inside the if name ==¨ main ¨ clause. Include output from running the code in countinvert output.txt. The output should adhere to the following form: $ python countinvert_sol.py [7, 10, 18, 3, 14, 17, 23, 2, 11, 16] 3 conflicts with 18 14 conflicts with 18 3 conflicts with 7, 10 2 conflicts with 17, 23 11 conflicts with 17, 23 16 conflicts with 17, 23 2 conflicts with 3, 7, 10, 14, 18 11 conflicts with 14, 18 16 conflicts with 18 17 conflicts with 18 # Inversions: 19 ... [(3, ’The Lumineers: Ho Hey’), (4, ’Adele: Chasing Pavements’), (2, ’Jimi Hendrix: Voodoo Chile’), (1, "Stevie Ray Vaughan: Couldn’t Stand the Weather"), (8, ’Coldplay: Clocks’), (6, ’Aretha Franklin: I Will Survive’), (5, ’Cake: I Will Survive’), (7, ’Beyonce: All the Single Ladies’), (9, ’Nickelback: Gotta be Somebody’), (10, ’Garth Brooks: Friends in Low Places’)] (1, "Stevie Ray Vaughan: Couldn’t Stand the Weather") conflicts with (2, ’Jimi Hendrix: Voodoo Chile’) (1, "Stevie Ray Vaughan: Couldn’t Stand the Weather")
    [Show full text]
  • My Big Adele Moment My Big Adele Moment
    MY BIG ADELE MOMENT __________________________ A short dramedy by Kenyon Brown This script is for evaluation only. It may not be printed, photocopied or distributed digitally under any circumstances. Possession of this file does not grant the right to perform this play or any portion of it, or to use it for classroom study. www.youthplays.com [email protected] 424-703-5315 My Big Adele Moment © 2013 Kenyon Brown All rights reserved. ISBN 978-1-62088-374-7. Caution: This play is fully protected under the copyright laws of the United States of America, Canada, the British Commonwealth and all other countries of the copyright union and is subject to royalty for all performances including but not limited to professional, amateur, charity and classroom whether admission is charged or presented free of charge. Reservation of Rights: This play is the property of the author and all rights for its use are strictly reserved and must be licensed by his representative, YouthPLAYS. This prohibition of unauthorized professional and amateur stage presentations extends also to motion pictures, recitation, lecturing, public reading, radio broadcasting, television, video and the rights of adaptation or translation into non-English languages. Performance Licensing and Royalty Payments: Amateur and stock performance rights are administered exclusively by YouthPLAYS. No amateur, stock or educational theatre groups or individuals may perform this play without securing authorization and royalty arrangements in advance from YouthPLAYS. Required royalty fees for performing this play are available online at www.YouthPLAYS.com. Royalty fees are subject to change without notice. Required royalties must be paid each time this play is performed and may not be transferred to any other performance entity.
    [Show full text]