Skip to content

SL TECH ACADEMY

Contact us
  • Home
  • C++
  • Pyhton
  • Java
  • Networking
  • Problem Solving
    • Algorithms
    • Data Structures
  • Contests
    • IOI
    • APIO
    • Google
      • Code Jam
      • Hash Code
      • Kick Start
  • Resources

SL TECH ACADEMY

Category: Java

  • Java

Java Loops I – HackerRank Solution

imageByPasindu Piumal2020-08-15
Java Loops I – HackerRank Solution
Problem : Objective : In this challenge, we’re going to use loops to help us do some simple math. Task : Given an integer, N, print its first 10 multiples. Each multiple N * i (where 1 <= i <= 10) should be printed on a new line in the form: N x i = result. Input

Read More

  • Java

Java Output Formatting – HackerRank Solution

imageByPasindu Piumal2020-08-14
Java Output Formatting – HackerRank Solution
Problem : Java’s System.out.printf function can be used to print formatted output. The purpose of this exercise is to test your understanding of formatting output using printf. To get you started, a portion of the solution is provided for you in the

Read More

  • Java

Java Stdin and Stdout II – HackerRank Solution

imageByPasindu Piumal2020-08-14
Java Stdin and Stdout II – HackerRank Solution
Problem : In this challenge, you must read an integer, a double, and a String from stdin, then print the values according to the instructions in the Output Format section below. To make the problem a little easier, a portion of the code is

Read More

  • Java

Java If-Else – HackerRank Solution

imageByPasindu Piumal2020-08-14
Java If-Else – HackerRank Solution
Problem : In this challenge, we test your knowledge of using if-else conditional statements to automate decision-making processes. An if-else statement has the following logical flow: Source: Wikipedia Task : Given an integer, n, perform the following conditional actions:

Read More

  • Java

Java Stdin and Stdout I – HackerRank solution

imageByPasindu Piumal2020-08-14
Java Stdin and Stdout I – HackerRank solution
Problem : Most HackerRank challenges require you to read input from stdin (standard input) and write output to stdout (standard output). One popular way to read input from stdin is by using the Scanner class and specifying the Input

Read More

  • Java

Welcome to Java! – HackerRank Solution

imageByPasindu Piumal2020-08-14
Welcome to Java! – HackerRank Solution
Problem : Welcome to the world of Java! In this challenge, we practice printing to stdout. The code stubs in your editor declare a Solution class and a main method. Complete the main method by copying the two lines of code below and pasting them

Read More

Last Posts

Chef and Meetings – Codechef Solution – February Challenge 2021 Division 3

2021-02-08

Codeforces Round 697 – Ball in Berland Solution

2021-01-27

Codeforces Round 697 – New Year’s Number Solution

2021-01-27

Codeforces Round 697 – Odd Divisor Solution

2021-01-27
IOI 2020

IOI 2020 – Contest Day 1- Tickets Problem and Solution

2020-09-24

Archives

  • February 2021 (1)
  • January 2021 (3)
  • September 2020 (10)
  • August 2020 (68)
  • July 2020 (18)
Created by SL TECH ACADEMY. Powered by WordPress
Logo
  • Home
  • C++
  • Pyhton
  • Java
  • Networking
  • Problem Solving
    • Algorithms
    • Data Structures
  • Contests
    • IOI
    • APIO
    • Google
      • Code Jam
      • Hash Code
      • Kick Start
  • Resources