Skip to content

MarieReRe/401-DSA

Repository files navigation

401 Data Structures and Algorithms

.NET Core

Description

This is a daily code challenges project that includes various challenges Through DeltaV Code School.

Getting Started

Clone this repository to your local machine.

$ git clone [https://github.com/mrsantons/401-DSA.git]

To run the program from Visual Studio: Select File -> Open -> Project/Solution

Next navigate to the location you cloned the Repository.

Double click on the challenges or DSA directory.

Then select and open the program you want to view.

To Run This Program

Open the program using Visual Studio and click "Start" button to run this program.

Day 1 Challenge: Reverse an Array

White Boarding Partner Matt

For this challenge we are tasked with taking an array and reversing that input without altering the original array or using the built in method of Array.Reverse().

Challenge Start: 1:15pm

Challenge End: 2:45pm

Total Time: 2.5 hours

Description

Write a function called reverseArray which takes an array as an argument. Without utilizing any of the built-in methods available to your language, return an array with elements in reversed order.

Possible Stretch Goal

Once you’ve achieved a working solution, implement the same feature with a different methodology. (Hint: what different techniques do you have when working with arrays? Recursion, loops, indexes, modifying the array input directly…)

Approach and Efficiency

Matt and I approached reversinge this array as taking a test array and inputing the last number (or input) of that array into the first available index of a new "reverse" array. This approach would be of linear time complexity which is O(n). This is because the time this function takes to run would increase proportionally to the amount of data the function contains.

Solution:

White Boarding Solution


Day 2 Challenge: Array Shift

White Boarding Partner Craig


Day 3 Challenge

White Boarding Partner Stacey


Day 4 Challenge: Mock Interview

Mock Interviewer: Chase

Description

Write a function to add up the sum of each row in a matrix of arbitrary size, and return an array with the appropriate values.


Day 5 Challenge Linked List Implementation


Day 6

White Boarding Partner Sihem


Day 7

White Boarding Partner Brennan


Day 8

White Boarding Partner Francesco


Day 9 Challenge: Mock Interview

Mock Interviewer: Ian (TA)


Day 10


Day 11

White Boarding Partner Stacey


Day 12

White Boarding Partner Sihem


Day 13

White Boarding Partner Matt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages