FunnyAlgorithms
FunnyAlgorithms copied to clipboard
A repository with a bunch of funny algorithms, beginners friendly
I have added N-Queens code in java . please kindly merge my pull request
Added the algorithm for applying bfs in a disconnected graph. *Kindly mark this PR as hacktoberfest-accepted"
Hey @ReciHub , I added the optimized java code for Palindrome Number, please have a look(#1028).
Added the algorithm for applying DFS on disconnected graph. *Please mark this Pull Request as hacktoberfest-accepted*
Simple code to find wheather a paranthesis is balanced or not without using stack
You asked for some changes (to add spaces before and after operators) in PR #1031, so I did them. Thanks!
**Test Case example** Input: nums = [2,0,2,1,1,0] Output: [0,0,1,1,2,2]
Optical illusion inspired from Artist here: https://sg.news.yahoo.com/panda-optical-illusion-143707252.html This python code takes grayscale image as input performs convolution over it and generates "optical illusion" version of input image (similar to in...