Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 25f7fa0

Browse files
Update README.md
1 parent 6cd58ca commit 25f7fa0

File tree

1 file changed

+104
-17
lines changed

1 file changed

+104
-17
lines changed

‎README.md

Lines changed: 104 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,110 @@ this is the interface of the online Codespaces
4040
enjoy !
4141

4242
## Source Code
43-
44-
| Problem | Link |
45-
|------------------------|-------------------------------------------------------------------------------------------|
46-
| Binary Search | [View](https://github.com/jdevstatic/java-coding-problems/blob/main/src/BinarySearch.java) |
47-
| Checking Palindrome | [View](https://github.com/jdevstatic/java-coding-problems/blob/main/src/CheckPalindromeString.java) |
48-
| Inheritance | [View](https://github.com/jdevstatic/java-coding-problems/tree/main/src/inheritance) |
49-
| Integer Array Sum | [View](https://github.com/jdevstatic/java-coding-problems/blob/main/src/IntegerArraySum.java) |
50-
| Merge Sort | [View](https://github.com/jdevstatic/java-coding-problems/blob/main/src/MergeSort.java) |
51-
| Prime Number Checker | [View](https://github.com/jdevstatic/java-coding-problems/blob/main/src/PrimeNumberCheck.java) |
52-
| Fibonacci Series | [View](https://github.com/jdevstatic/java-coding-problems/blob/main/src/PrintFibonacciSeries.java) |
53-
| Remove A Character | [View](https://github.com/jdevstatic/java-coding-problems/blob/main/src/RemoveAChar.java) |
54-
| Remove Whitespaces | [View](https://github.com/jdevstatic/java-coding-problems/blob/main/src/RemoveWhiteSpaces.java) |
55-
| Reverse A Linked List | [View](https://github.com/jdevstatic/java-coding-problems/blob/main/src/ReverseALinkedList.java) |
56-
| Reverse A String | [View](https://github.com/jdevstatic/java-coding-problems/blob/main/src/ReverseString.java) |
57-
| Shuffle Array | [View](https://github.com/jdevstatic/java-coding-problems/blob/main/src/ShuffleArray.java) |
58-
| Sort Array | [View](https://github.com/jdevstatic/java-coding-problems/blob/main/src/SortArray.java) |
59-
| Check Vowels | [View](https://github.com/jdevstatic/java-coding-problems/blob/main/src/StringContainsVowels.java) |
43+
1. **Binary Search**
44+
- **Problem:** Implement a binary search algorithm to find the position of a
45+
target value within a sorted array.
46+
- **Link:** [View Code](https://github.com/jdevstatic/java-coding-problems/blob/main/src/BinarySearch.java)
47+
- **Discussion:** Binary search is an efficient algorithm for finding an item
48+
from a sorted list of items. It works by repeatedly dividing in half the
49+
portion of the list that could contain the item, until you've narrowed down
50+
the possible locations to just one.
51+
52+
2. **Checking Palindrome**
53+
- **Problem:** Check if a given string is a palindrome.
54+
- **Link:** [View Code](https://github.com/jdevstatic/java-coding-problems/blob/main/src/CheckPalindromeString.java)
55+
- **Discussion:** A palindrome is a word, phrase, number, or other sequence
56+
of characters that reads the same forward and backward (ignoring spaces,
57+
punctuation, and capitalization). The algorithm typically involves
58+
comparing characters from the beginning and end of the string moving
59+
towards the center.
60+
61+
3. **Inheritance**
62+
- **Problem:** Demonstrate the concept of inheritance in Java.
63+
- **Link:** [View Code](https://github.com/jdevstatic/java-coding-problems/tree/main/src/inheritance)
64+
- **Discussion:** Inheritance is a fundamental concept in object-oriented
65+
programming where a new class is created from an existing class. The new
66+
class (subclass) inherits attributes and methods from the existing class
67+
(superclass), allowing for code reuse and the creation of a hierarchical
68+
relationship between classes.
69+
70+
4. **Integer Array Sum**
71+
- **Problem:** Calculate the sum of all integers in an array.
72+
- **Link:** [View Code](https://github.com/jdevstatic/java-coding-problems/blob/main/src/IntegerArraySum.java)
73+
- **Discussion:** This problem involves iterating through an array of
74+
integers and accumulating the sum of its elements. It is a straightforward
75+
problem that demonstrates basic array manipulation and iteration.
76+
77+
5. **Merge Sort**
78+
- **Problem:** Implement the merge sort algorithm.
79+
- **Link:** [View Code](https://github.com/jdevstatic/java-coding-problems/blob/main/src/MergeSort.java)
80+
- **Discussion:** Merge sort is a divide-and-conquer algorithm that divides
81+
the input array into two halves, recursively sorts them, and then merges
82+
the sorted halves. It is known for its efficiency and stable sorting
83+
properties.
84+
85+
6. **Prime Number Checker**
86+
- **Problem:** Check if a given number is a prime number.
87+
- **Link:** [View Code](https://github.com/jdevstatic/java-coding-problems/blob/main/src/PrimeNumberCheck.java)
88+
- **Discussion:** A prime number is a natural number greater than 1 that has
89+
no positive divisors other than 1 and itself. The algorithm typically
90+
involves checking divisibility from 2 up to the square root of the number.
91+
92+
7. **Fibonacci Series**
93+
- **Problem:** Print the Fibonacci series up to a given number.
94+
- **Link:** [View Code](https://github.com/jdevstatic/java-coding-problems/blob/main/src/PrintFibonacciSeries.java)
95+
- **Discussion:** The Fibonacci series is a sequence where each number is the
96+
sum of the two preceding ones, usually starting with 0 and 1. This problem
97+
can be solved using iterative or recursive approaches.
98+
99+
8. **Remove A Character**
100+
- **Problem:** Remove all occurrences of a given character from a string.
101+
- **Link:** [View Code](https://github.com/jdevstatic/java-coding-problems/blob/main/src/RemoveAChar.java)
102+
- **Discussion:** This problem involves iterating through the string and
103+
building a new string that excludes the specified character. It
104+
demonstrates string manipulation techniques.
105+
106+
9. **Remove Whitespaces**
107+
- **Problem:** Remove all whitespaces from a string.
108+
- **Link:** [View Code](https://github.com/jdevstatic/java-coding-problems/blob/main/src/RemoveWhiteSpaces.java)
109+
- **Discussion:** This problem involves iterating through the string and
110+
building a new string that excludes all whitespace characters. It is a
111+
common string manipulation task.
112+
113+
10. **Reverse A Linked List**
114+
- **Problem:** Reverse a singly linked list.
115+
- **Link:** [View Code](https://github.com/jdevstatic/java-coding-problems/blob/main/src/ReverseALinkedList.java)
116+
- **Discussion:** Reversing a linked list involves changing the direction of
117+
the pointers in the list. This problem is a classic example of pointer
118+
manipulation in data structures.
119+
120+
11. **Reverse A String**
121+
- **Problem:** Reverse a given string.
122+
- **Link:** [View Code](https://github.com/jdevstatic/java-coding-problems/blob/main/src/ReverseString.java)
123+
- **Discussion:** Reversing a string involves swapping characters from the
124+
beginning and end of the string moving towards the center. It is a basic
125+
string manipulation problem.
126+
127+
12. **Shuffle Array**
128+
- **Problem:** Shuffle the elements of an array randomly.
129+
- **Link:** [View Code](https://github.com/jdevstatic/java-coding-problems/blob/main/src/ShuffleArray.java)
130+
- **Discussion:** Shuffling an array involves randomly permuting its
131+
elements. This can be achieved using algorithms like the Fisher-Yates
132+
shuffle.
133+
134+
13. **Sort Array**
135+
- **Problem:** Sort an array of integers.
136+
- **Link:** [View Code](https://github.com/jdevstatic/java-coding-problems/blob/main/src/SortArray.java)
137+
- **Discussion:** Sorting an array involves arranging its elements in a
138+
specific order (ascending or descending). Various algorithms can be used,
139+
such as quicksort, mergesort, or bubble sort.
140+
141+
14. **Check Vowels**
142+
- **Problem:** Check if a string contains any vowels.
143+
- **Link:** [View Code](https://github.com/jdevstatic/java-coding-problems/blob/main/src/StringContainsVowels.java)
144+
- **Discussion:** This problem involves iterating through the string and
145+
checking for the presence of vowel characters (a, e, i, o, u). It
146+
demonstrates basic string traversal and condition checking.
60147

61148
## License
62149
This is based on :

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /