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.
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.
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.
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.
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.
Digital Clock using C++
The Digital clock is a C++ project which displays the current time digitally without using any LED or LCDs.
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.
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
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
Higher-Lower Game using Python
This is a Python source code for playing the higher-lower game for a short fun break.
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.
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.