Code Packets

Browse all published coding projects

Java Program to Group Anagrams

Given an array of strings strs, group the anagrams together. You can return the answer in any order.

CHATTETI.THARUN · Jun 16, 2021

Travelling Salesperson Problem using Genetic Algorithm in Python

Travelling Salesperson Problem is a NP-Hard problem. Genetic Algorithms attempt to solve this problem using the Darwin's law of natural selection and survival of the fittest.

Rhushabh Gedam · Jun 16, 2021

Decision Trees in Python using Pandas and Networkx in Python

Decision trees are usually used in Machine Learning classification problems. This program allows you to provide the CSV file & output variable and returns a PNG file of the decision tree.

Rhushabh Gedam · Jun 16, 2021

Snake game Custom environment in Python using OpenAI Gym

Snake-gym is a custom environment of the classic snake game using OpenAI Gym. It is meant to test different Reinforcement Learning Agents. It has a "human" mode to serve as a Single Player game.

Rhushabh Gedam · Jun 16, 2021

TRAIN RESERVATION SYSTEM USING JAVA PROGRAMMING

In this tutorial, we are going to learn how to build a code for Train Reservation System using JAVA programming. Here, in this case, we can book an Upper Berth or a Lower Berth.

BODA KAVYA SREE · Jun 15, 2021

Digital Clock using C++

The Digital clock is a C++ project which displays the current time digitally without using any LED or LCDs.

Sandhya yegireddi · Jun 15, 2021

Check if two given lines intersect or not in C++

If lines intersect with each other then we print the message that lines intersect with each other along with coordinates and if not then we print that the lines do not intersect with each other.

Amit Kumar · Jun 15, 2021

Changing App Theme and Styles in Android using Java

The app implements an android activity that can switch night mode and apply multiple themes using Java

Saptneel Sharma · Jun 15, 2021

Converting a given Regular Expression into an NFA states table using Java

This project takes a regular expression as input and converts it into an NFA, then displays the states and transitions using a table in Java

Saptneel Sharma · Jun 15, 2021

Higher-Lower Game using Python

This is a Python source code for playing the higher-lower game for a short fun break.

SHAMBHAVI GUPTA · Jun 14, 2021

String Encoding and Decoding in Python using Tkinter

This project is created in Python using the Tkinter library for GUI. It allows the user to encode and decode the input string. The libraries used are Tkinter and Base64.

Malavika S Anand · Jun 14, 2021

Shifting All Zero's to the End of the Array Using Java

In this Java post, we will be learning how to move all non-zero elements to the starting of the Array and shift all zero's to the end of the Array by traversing the array only once.

Lokeswara Reddy Ajjuguttu · Jun 14, 2021