Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
problemyour task is to break a number into its individual digits for example to turn 1729 into 1 7 2 and 9 it is easy
problem1 write a method public static void downsizelinkedlist employeenames int n that removes every nth employee from
problem1 the union of two sets a and b is the set of all elements that are contained in a b or both the intersection is
problem1 suppose the strings a z are pushed onto a stack then they are popped off the stack and pushed onto a second
problem1 suppose you need to keep a collection of appointments would you use a linked list or an array list of
problem1 what advantages do linked lists have over arrays what disadvantages do they have2 suppose you need to organize
problem1 one way of implementing a calendar is as a map from date objects to event objects however that only works if
problem1 what is the value of the reverse polish notation expression 2 3 4 5 times times2 why does the branch for the
problem1 what is a mapgt give a possible use for such a structure2 why would you want to declare a variable as queue q
problem1 what is the difference between a set and a map2 why is the collection of the keys of a map a set and not a
problem1 how can you correctly implement the test of self check 122 write a loop that prints all elements that are in
problem1 why are set iterators different from list iterators2 what is wrong with the following test to check whether
problem1 write a loop that removes all strings with length less than four from a linked list of strings called words2
problem1 a grade book application stores a collection of quizzes should it use a list or a set2 a student information
problemassume you decide to use more of your new python skills so you are going to write a function that looks for a
problemyou have written an essay for school and it has to be at least five pages long but your essay is only 45 pages
problemthe build cipher function could create more complicated alphabets as long as both the receiver and the sender
problem1 write a function that compares two words and prints all the letters that appear in both2 change the encode
problemtry giving our double dutch program a full name like john smith what happens to the space what if you include
problem1 the pyramid function in this chapter doesnt quite line up with character as input try some others like n and
problem1 give an on algorithm to sort an array of n bytes numbers between -128 and 1272 you are given a sequence of
problema stable sort does not change the order of elements with the same value this is a desirable feature in many
problemthe radix sort algorithm sorts an array of n integers with d digits using ten auxiliary arrays first place each
problem1 describe an on logn algorithm for checking whether an array has duplicates2 what is the big-oh running time of
problem1 suppose you need to look through a sorted array with 1000000 elements to find a value using the binary search