Anup Kumar Panwar
a0aed9aef2
Merge pull request #79 from hgm1284/contribution
...
HexaDecimal To Binary conversion created
2017-08-10 10:08:12 +05:30
Harvey Gómez
017f47cf61
HexaDecimal To Binary conversion created
2017-08-09 12:59:02 -06:00
Anup Kumar Panwar
895395fd1f
Merge pull request #78 from varunu28/master
...
Created TreeTraversal.java
2017-08-09 16:33:12 +05:30
Anup Kumar Panwar
c915e0219c
Merge pull request #62 from ry05/master
...
Inserting and deleting an element in java array
2017-08-09 16:30:45 +05:30
Varun Upadhyay
fde8712d79
Create TreeTraversal.java
2017-08-09 11:08:10 +05:30
Rohit Gupta
43bfe47036
Delete .DS_Store
2017-08-08 13:23:32 +05:30
Rohit Gupta
001223fc5c
Merge pull request #76 from CalebConner13/patch-1
...
Updated syntax / whitespace
2017-08-08 13:19:47 +05:30
Rohit Gupta
d3e0090ed4
Merge pull request #61 from varunu28/master
...
Created AnyBaseToDecimal.java
2017-08-08 13:14:27 +05:30
Rohit Gupta
45b76e57e0
Merge pull request #77 from ParitoshAggarwal/master
...
Add files via upload
2017-08-08 13:11:13 +05:30
ParitoshAggarwal
c993087737
Add files via upload
...
Generic tree updated
2017-08-06 20:32:48 +05:30
ParitoshAggarwal
c61cc8cd6b
Update HashMap.java
2017-08-06 19:58:15 +05:30
ParitoshAggarwal
df34c3fdd1
Add files via upload
...
HashMap implemented
Code is working and checked twice to avoid any errors
2017-08-06 19:46:08 +05:30
CalebConner13
fdc48cbc20
Updated syntax / whitespace
2017-08-02 14:10:09 -04:00
Anup Kumar Panwar
0e48afc53b
Merge pull request #75 from earngpi/master
...
added class for Palindrome and re-edited SinglyLinkedList
2017-07-16 22:05:31 +05:30
earngpi
d6b9e548ef
update singly linked list
2017-07-16 22:19:30 +07:00
earngpi
86ac3321e3
Merge pull request #1 from earngpi/earngpi-version
...
create Palindrome.java
2017-07-16 22:14:58 +07:00
earngpi
6d3c8464c4
create Palindrome.java
2017-07-16 22:14:29 +07:00
Anup Kumar Panwar
0d10529f72
Merge pull request #71 from BluurProgrammer/improve_static_method_bs
...
Simplifies the readability of the static method BS
2017-07-16 15:54:56 +05:30
Matheus Serrao
60f6dda70a
Simplifies the readability of the static method BS
2017-07-16 04:28:01 -04:00
Anup Kumar Panwar
bf79830993
Merge pull request #68 from KylerSmith/stack-node-implementation
...
Stack node implementation
2017-07-10 23:02:37 +05:30
KylerSmith
8dcd01ef5f
Added NodeStack.java, another stack implementation
2017-07-10 07:31:42 -07:00
KylerSmith
96e89dbaac
Remove .class file
2017-07-09 17:12:59 -07:00
KylerSmith
e00d95c417
Syntax fix
2017-07-09 17:11:57 -07:00
KylerSmith
ae7aba0b44
File clean-up
2017-07-09 16:29:00 -07:00
Anup Kumar Panwar
535add38de
Merge pull request #66 from KylerSmith/master
...
Clean up ft.java and create CountChar.java.
2017-07-09 13:50:04 +05:30
KylerSmith
5fec65b247
Create Matrix data structure.
2017-07-08 20:10:43 -07:00
KylerSmith
1af3806a88
Clean up FloydTriangle (ft.java)
2017-07-07 18:24:45 -07:00
KylerSmith
da55838a8e
Count character algo added
2017-07-07 18:12:14 -07:00
Ramshankar Yadhunath
aa6f2a7516
Inserting and deleting an element in java array
2017-07-03 20:50:53 +05:30
Varun Upadhyay
7133212630
Created AnyBaseToDecimal.java
...
An algorithm which can convert a given number of any base to its decimal value
2017-06-28 11:01:07 +05:30
Anup Kumar Panwar
ad1e42cfc4
Merge pull request #60 from varunu28/master
...
Create removeDuplicateFromString.java
2017-06-27 21:32:28 +05:30
Varun Upadhyay
542f68790d
Create removeDuplicateFromString.java
...
An algorithm which removes duplicates from a given input string
2017-06-27 12:02:37 +05:30
Anup Kumar Panwar
370b988cf7
Merge pull request #59 from cosmeoes/patch-1
...
Added a few edge cases in the stack class
2017-06-21 12:38:56 +05:30
cosmeoes
cc5c1fe62e
Added a few edge cases in the stack class
...
Added an if statement to:
>The push method to make sure the stack wasn't full.
>The pop method to make sure the stack wasn't empty.
> The peek method to make sure the stack wasn't empty.
2017-06-20 23:13:22 -06:00
Anup Kumar Panwar
4c6ea58203
Merge pull request #57 from ashish4321/master
...
floyd triangle
2017-06-16 18:20:42 +05:30
Ashish Agarwal
b8d98f9337
krishnamurthy
2017-06-16 17:05:39 +05:30
Ashish Agarwal
d89189a5d1
floyd triangle
2017-06-16 16:47:35 +05:30
Anup Kumar Panwar
b0c1fcc66c
Merge pull request #56 from AndrewJey/master
...
Conversions Works
2017-06-10 11:40:38 +05:30
Andrés Jozef Jiménez Leandro
ec8b8c056a
Conversions Works
...
Finished some unfinished conversions in Octal system.
Added Decimal to HexaDecimal conversion.
2017-06-09 16:50:42 -06:00
Anup Kumar Panwar
6bc4f91b6e
Merge pull request #55 from MarcHines/patch-4
...
Update ReverseString.java
2017-06-02 11:07:24 +05:30
MarcHines
066dd615a6
Update ReverseString.java
...
Using recursion for reversing a String serves us no benifit. It places extra load on the stack, and it is less efficient than doing so iteratively. I understand now that we can not use built in reverse function, but using recursion is still the worst way we could do the task of String reversal. Everytime we call the reverse method we are placing an extra frame on our stack. This uses space. We also create another string that we are appending our result to with the recursive solution, which is slow because under the hood, Java will create a new empty String and then append each character to the new String, one char at a time. If we do this for each character, then asymtotically we now have time complexity of O(n^2). Recursion in this case also does not make our solution "simpler" or "more elegant". We want to use recursion when it is advantageous to do so....like traversing trees
2017-06-01 08:09:19 -04:00
Anup Kumar Panwar
6ff4a1fb6f
Merge pull request #53 from MarcHines/patch-2
...
Update countwords.java
2017-06-01 11:24:40 +05:30
MarcHines
abc0e4593d
Update countwords.java
...
Class was added back.
2017-06-01 00:17:06 -04:00
Anup Kumar Panwar
e8e65504bf
Merge pull request #52 from MarcHines/patch-1
...
Update Factorial.java
2017-06-01 06:34:18 +05:30
MarcHines
56ca966d47
Update countwords.java
...
Easier to read.
2017-05-31 19:59:11 -04:00
MarcHines
149e5d2abc
Update Factorial.java
...
The factorial method can be simplified to 2 lines, which I believe is easier to read. Also, in previous version, if user enters two negative numbers back to back, the program crashes. We need a while loop to prompt the user until they actually enter the correct input, instead of only prompting them once. Also, if user enters a character instead of an integer, program crashes with no error message. We should fail more gracefully.
2017-05-31 19:38:17 -04:00
Anup Kumar Panwar
3907716e1f
Merge pull request #51 from erugged93/patch-1
...
Update BinaryToOctal.java
2017-05-25 18:12:02 +05:30
Eric Ruggieri
10889f4993
Update BinaryToOctal.java
...
added logic to convert binary to octal
2017-05-24 13:46:54 -04:00
Anup Kumar Panwar
4e14531e07
Merge pull request #50 from UsernameToLon/BubbleSort
...
Bubble sort updated to efficient version
2017-05-19 08:27:04 +05:30
UsernameToLon
b829bc6a25
Merge pull request #1 from UsernameToLon/UsernameToLon-BubbleSort
...
Updated to more efficient version if array size is scaled.
2017-05-18 14:12:36 -04:00