Skip to content

Commit

Permalink
fixxxx???
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitd3 committed Apr 28, 2023
1 parent 48d99a9 commit 65a0968
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions _notebooks/2023-04-27-frqpractice2017.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -404,14 +404,30 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<img width=\"891\" alt=\"image\" src=\"https://user-images.githubusercontent.com/44128572/235211265-d2ef3991-c884-4cf0-b4d2-ec88cf696b30.png\">"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"a)\n",
"\n",
"+1 Accesses all necessary elements of intArr (no bounds errors)\n",
"\n",
"+1 Identifies intArr element equal to num (in context of an intArr traversal)\n",
"\n",
"+1 Constructs Position object with same row and column as identified intArr element\n",
"\n",
"+1 Selects constructed object when intArr element identified; null when not\n",
"\n",
"+1 Returns selected value\n",
"\n",
"b)\n",
"\n",
"+1 Creates 2D array of Position objects with same dimensions as intArr\n",
"\n",
"+1 Assigns a value to a location in 2D successor array using a valid call to findPosition\n",
"\n",
"+1 Determines the successor Position of an intArr element accessed by row and column (in context of intArr traversal)\n",
"\n",
"+1 Assigns all necessary locations in successor array with corresponding position object or null (no bounds errors)\n",
"\n",
"\n",
"\n",
"## a) 5/5 all reqiuirements are met\n",
"## b) 4/4 all reqiuirements are met"
]
Expand Down

0 comments on commit 65a0968

Please sign in to comment.