Initial Setup Instructions

Requirements:

VS Code or any other coding environment set up for JavaScript
Node.js installed on your computer (you can download it from )

Steps:

Navigate to your project folder:
Open a terminal window and navigate to the folder where you'd like to store your project.
Clone the repository:
Run the following command in your terminal:
git clone https://github.com/cparsons9712/PsuedoTickets.git
Navigate into the project folder:
After cloning, change directory into the newly created project folder by running:
cd PsuedoTickets
Install dependencies:
In the terminal, run the following command to install the necessary project dependencies:
npm install

Navigating the Repo


After cloning and setting up the repository, you’ll see the following structure in the project folder:
image.png
Navigate into the src. this folder will hold all of the important files you need to practice your dsa
You will see 3 difficulty levels, Check the ticket you are working on for the difficulty

When you open the beginner file you will see folders with titles matching different DSA concepts, check the ticket you are working on for the DSA concept

Next you will see a series of files with the title matching ticket IDs. Check your ticket for the ID and open the corresponding file

Now you can impliment your solution according to the ticket reqirements. Run your file to see the results of your console log with node (filename) or run the test files with npm run test:grep -- @[TICKETID]

Steps:

Navigate to the src folder:
This folder contains all the essential files needed for practicing your Data Structures and Algorithms (DSA).
Identify the difficulty level:
Inside src, you’ll find three folders labeled by difficulty level. Refer to your assigned ticket to find out the difficulty level and open the corresponding folder.
image.png
Select the DSA concept:
Within the selected difficulty folder, you’ll see folders organized by DSA concepts (e.g., arrays, strings, etc.). Check your ticket for the specific DSA concept and open the matching folder.
image.png
Locate the ticket-specific file:
Inside the DSA concept folder, you’ll find files named with ticket IDs. Locate the file that corresponds to the ticket ID you’re working on and open it.
image.png
Implement your solution:
Now, you can start coding your solution based on the requirements in the ticket.
To test your code, you have two options:
Run your code directly using Node.js:
node <filename>
Run tests associated with your ticket by using the command:
npm run test:grep -- @[TICKETID]


Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.