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 869c55d

Browse files
Update README.md
1 parent d3faec1 commit 869c55d

File tree

1 file changed

+27
-21
lines changed

1 file changed

+27
-21
lines changed

‎README.md

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,46 @@
11
# Java Coding Problems
22

3-
*`updated July 26, 2024`*
3+
*`updated July 28, 2024`*
44

55
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fjdevstatic%2Fjava-coding-problems&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=PAGE+VIEWS&edge_flat=false)](https://hits.seeyoufarm.com)
66

7-
These are the most coding problems during
7+
These are the most common coding problems being asked during
88
technical interviews, as I experienced it myself.
99

1010
## Running The Code
11+
It's the convenience of Codespaces online! Simply create a Codespace, you don't need to install anything, just run using Bash.
1112

12-
It's the convenience of the Codespaces online!
13-
Simply create a Codespace, you don't need to install
14-
anything, just simply run using Bash.
13+
### Steps to Run the Code
14+
1. **Fork the Repository**:
15+
- Navigate to the repository you want to fork.
16+
- Click the "Fork" button at the top right corner of the page.
1517

16-
First step is to fork this repo, once there, click Code,
17-
and if you have the Codespaces, you will see like this :
18+
2. **Create a Codespace**:
19+
- Go to your forked repository.
20+
- Click the "Code" button.
21+
- Select "Open with Codespaces" from the dropdown menu.
22+
- If you have Codespaces enabled, you will see an interface like this:
23+
![Codespaces](https://github.com/user-attachments/assets/580e8844-5476-4b7a-a133-0e378656096a)
1824

19-
![image](https://github.com/user-attachments/assets/580e8844-5476-4b7a-a133-0e378656096a)
25+
3. **Navigate to the Source Directory**:
26+
- Open the terminal in Codespaces.
27+
- Change the directory to `src`:
28+
```bash
29+
cd src
30+
```
2031

21-
Also starting Java 11, you can now run it even without compiling !
32+
4. **Run the Java File**:
33+
- Starting with Java 11, you can run Java files without compiling them first. Use the following command:
2234

23-
```
24-
cd src
25-
```
35+
```bash
36+
java [NameOfTheFile].java
37+
```
2638

27-
then
39+
this is the sample interface of the online Codespaces
2840

29-
```
30-
java [NameOfTheFile].java
31-
```
41+
![Codespaces Interface](https://user-images.githubusercontent.com/47092464/182785921-838bd0e5-2707-4e08-8a0b-9127afba6866.png)
3242

33-
this is the interface of the online Codespaces
34-
35-
![image](https://user-images.githubusercontent.com/47092464/182785921-838bd0e5-2707-4e08-8a0b-9127afba6866.png)
36-
37-
enjoy !
43+
enjoy!
3844

3945
## Source Code
4046
1. **Binary Search**

0 commit comments

Comments
(0)

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