Comments (6)
I guess I will complete this one too so we can have an example of Java code too.
from algos.
Go ahead.
from algos.
What do I name the class for it? As in java, if the name of class and method becomes same it becomes a constructor.
Also the conventions of java need the name of class as 1st letter capital of each word
from algos.
Class names are C
amelCase
and method names are c
amelCase
. There won't be conflicts.
from algos.
EucledianGcd as class name then? I think we cann't add underscores in class names? (Correct me if I am wrong)
from algos.
class EuclideanGCD {
static void euclideanGCD(int a, int b) {
...
}
public static void main(String args[]) {
...
}
}
from algos.
Related Issues (20)
- Linear Search [CPP] HOT 1
- Merge Sort [CPP] HOT 1
- Prime Factor [CPP] HOT 2
- Radix Sort[CPP]
- Length of Longest Common Subsequence [CPP] HOT 1
- I will fix readme update for binary search in cpp as it is not ticked.
- CountingSort[cpp]
- I want to add c++ code of binary search tree
- I want to add C++ Double Ended Queue code
- MergeSort[cpp]
- I want to add largest_sum_contiguous_subarray in CPP
- Prims[Python]
- I want to add C++ code of AVL Tree
- Doubly LinkedList in CPP
- I want to add LCS c++ code
- dijkstra [cpp]
- RadixSsort[CPP]
- I want to add FibonacciNumber c++ code HOT 1
- I want to add Linear Search dart code HOT 1
- Dutch National Flag Algorithm [CPP] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from algos.