Daniel Rivas's Projects
A simple web tool that reverses the order of words or letters in a string of text
This C++ project is a versatile utility for processing and reversing text data. It reads input from a file, filters and transforms the text, and then generates a reversed version of the text along with useful statistics.
A C++ program that calculates two different series
The Shakespeare Poetry Generator is a neural network-based Python project that uses TensorFlow and Keras to generate text in the style of William Shakespeare. It employs character-level prediction to create new, stylistically similar content based on a trained subset of Shakespeare's works.
This project presents a C++ implementation for efficiently merging two sorted linked lists into a single sorted list. It focuses on utilizing existing nodes from the original lists and maintaining their order in the merged output.
This program reads text from "input.txt", formats it by adding a space after each line, and outputs the formatted text to both "Formatted.txt" and the console. It's a simple utility for basic text manipulation and formatting.
This program implements a function to traverse and return all elements of a given m x n matrix in spiral order. It includes test cases to demonstrate its correctness across various matrix configurations.
This Java program utilizes dynamic programming with memoization to solve the problem of counting the number of distinct ways to climb a staircase, where each step involves choosing between climbing one or two steps.
A simple Java program that implements an algorithm to calculate the maximum profit from buying and selling stocks given daily price fluctuations. It includes various test cases to validate the algorithm's performance in different market scenarios.
A simple C++ implementation that merges two input strings alternately after removing all spaces.
This project provides a C++ implementation of an in-place string compression algorithm, which reduces the size of strings by encoding consecutive repeating characters with the character followed by its repetition count.
A C++ program for managing student records including names, majors, and GPAs. This program provides various features for data manipulation and sorting. It allows users to find individual student records, print the entire student registry, and sort the records by last name, major, or GPA.
This C++ program allows you to manage student information, including names and scores.
This Java program defines two functions, howSum and improvedHowSum, to find a combination of numbers that add up to a given target sum, using a simple recursive approach and a more efficient recursive approach with memoization, respectively.
This console application allows users to input three side lengths and determine the type of triangle they form. It identifies whether the triangle is equilateral, scalene, or isosceles and if it's a right triangle. The program also validates if the input side lengths can form a valid triangle based on the triangle inequality theorem.
This project is a C program designed to classify triangles based on their side lengths as Equilateral, Isosceles, Scalene, or Invalid and calculate the area for valid triangles, aimed at demonstrating basic geometric and mathematical concepts in programming.
A Java program that simulates battles between armies of mythical creatures. Embrace the excitement of strategy as you command your creatures to victory in turn-based combat!
A short program written in Java calculates the maximum area that can be contained within a set of vertical lines, utilizing a two-pointer algorithm and handling a variety of test cases from simple to complex.
A front-end simulation designed for educational purposes. It features a simple yet functional interface for user registration and login, mimicking the behavior of a full-scale authentication system.
The "Vehicle Inventory Management System" is a C++ program designed for managing and processing car inventory records. It provides functionality to validate, search, and organize records of cars, allowing users to efficiently manage car inventory data.
A Java implementation of an algorithm that determines if a target string can be constructed by concatenating elements from a given word bank, using recursion and memoization for optimization.
This Java program efficiently solves the "Three Sum Problem," identifying all unique triplets in an array that sum up to zero, with a focus on avoiding duplicate triplets.