Open QDBordtoshred opened 7 months ago
The requirement for assignment is a Jupyter Notebook that runs the code, correctly identifying the FRQ type, and a reflection for the problem.
0.6/0.9
Your code should be in a Jupyter Notebook, and you show have an issue with the connection between the FRQ and PBL. For this FRQ, I will give you a score of 0.63/0.9
(a) SparseArray Method getValueAt:
This method iterates through the entries in the sparse array. If it finds an entry with the specified row and column, it returns the associated value. If no matching entry is found, it returns 0.
(b) SparseArray Method removeColumn:
This method creates a new list newEntries to store the modified entries. It iterates through the existing entries, skipping the ones in the column to be removed and adjusting the column indexes for entries to the right. Finally, it updates the entries list with the modified entries and decrements the number of columns in the sparse array.