Coder Social home page Coder Social logo

avantikachauhann / algorithm-alchemy Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 26.0 728 KB

A curated collection of programs implemented in C++, Java, Python.

Java 40.30% Python 31.76% C++ 27.95%
100daysofcode 100daysofjava 100daysofpython algorithms data-structures dsa good-first-issue gssoc23 ssoc2023 100daysofcpp

algorithm-alchemy's Issues

[feat]: Create C++ Folder

Description

  • No Folder is Available for C++ Contributions

Solution

  • Add C++ Folder for Contributions

Missing Curly Brace in DiamondPattern.java

In the file DiamondPattern.java, there seems to be a missing closing curly brace (}), which results in a syntax error. The exact error message I'm seeing is: Syntax error, insert "}" to complete ClassBodyJava(1610612976).

Please look into this and fix the issue, or let me know if I can provide more information.

Public type CycleSortExample not defined in its own file

In the CycleSort.java file, there is a problem with the CycleSortExample class. Java conventions require that each public class should be defined in its own file, which is not the case here. This may lead to compilation errors or unexpected behavior.

The specific error message I'm getting is: "The public type CycleSortExample must be defined in its own file".

Please review this and resolve the issue, or let me know if I can provide any additional information.

[feat]: Create folder for graph-algorithms

Create a folder for graph-algorithms like Dijkstra, DFS,...
It should contain one datastructure representation of graphs like adjacencyfields for a standard ussage in future graph-algorithms

Patterns in python and java

I want to add the following 3 patterns in Python and Java to your repository.

  1. Hollow Diamond

    • image
  2. Floyd's Triangle Pattern

    • image
  3. Pascal Triangle Pattern

    • image

Resource Leak in PalindromeNumber.java

In the PalindromeNumber.java file, there seems to be a resource leak warning. It appears that the Scanner object, 'scanner', is never closed.

The specific warning message I'm seeing is: "Resource leak: 'scanner' is never closed".

This might lead to resource leaks and other unexpected behavior. Please review the code and add necessary close() statements or try to use try-with-resources, which ensures that each resource is closed at the end of the statement.

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.