Giter Club home page Giter Club logo

competitive-programming's Introduction

👋 About Me

Hello, my name is Diego Palma, and I am kind of a software developer. I am from Chile and I ❤️ open-source. I hold an M.Sc in Computer Science from University of Concepción and during this masters, I worked mainly on Natural Language Processing (NLP). Actually, a product from my thesis was the paper Coherence-Based Automatic Essay Assessment.

I strongly believe that education should be available for everyone, and one of my goals is to contribute to education in the reading comprehension field. I created TRUNAJOD which is an open-source library for text-complexity assessment.

📫 Social Media

💻 Open Source Work Stats

Diego Palma github stats

competitive-programming's People

Contributors

dpalmasan avatar

Stargazers

 avatar

Watchers

 avatar  avatar

competitive-programming's Issues

Event scheduling

Given an array of events with their starting and ending times (start, end), return the best schedule (maximum amount of events) selecting events that could be scheduled without overlapping times.

Knapsack Problem

Given a list of weights [w1, w2, ..., wn], determine all sums that can be constructed using the weights. For example, if we have the weights w = [1, 3, 3, 5], in this case all sums between 0 and 12 are possible, except 2 and 10.

Restaurant problem

In a restaurant, customers arrive and leave during all the service hours. We'd like to find the maximum amount of customers at a given time window. Suppose we know the arriving and leave time (input), find the maximum amount of customers in the restaurant.

Coin change problem number of ways to sum `n`

Add a solution for a variation of the coin change problem, in which we are interested in counting the number of ways you can arrange coins to sum a certain amount n.

Example:

coins = {1, 3 , 4}, n = 5, there are 6 ways to arrange the coins to sum 5:

  • 1 + 1 + 1 + 1 + 1
  • 1 + 1 + 3
  • 1 + 3 + 1
  • 3 + 1 + 1
  • 1 + 4
  • 4 + 1

Define Makefile

Examples will be written in C++ and Python. We need to define a Makefile to build each of the exercises, and also for testing purposes.

Implement solution for coin change problem

Suppose we have a set of coin values coins = {c1, c2, ..., ck}and a target sum n. We are asked to construct the sum n using as few coins as possible.

Examples:

  • coins = {1, 2, 5} and n = 12 an optimal solution would be 5 + 5 + 2, which is 3 coins.
  • coins = {1, 3, 4} and n = 6, an optimal solution would be 3 + 3 = 6

Paths in a grid

Find a path from the upper left corner to the lower right corner of an n x n grid, with the restriction that we can only move down and right. Each path contains and integer and the path should be constructed so that the sum of the values along the path is as large as possible.

Max Subarray Sum

Implement algorithms for different time complexities and document explanations.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.