Menu ---
coderinme
  • Programming
    • C
    • C++
    • Java
    • Apex
    • File Handling
    • Python
    • Bash
    • PHP
  • Algorithm
    • Higher Order Thinking Skills Questions
    • Pointer
  • Data Structure
    • Array
    • Linked List
    • Tree
    • Stack
    • Queue
  • Competitive
    • Hackerrank
    • Hackerearth
  • Companies Tech
    • ThoughtWorks
    • NEC Tech
    • TCS
  • Database
    • Data Base and SQL
  • SFDC
    • More
    • Assignment
    • Videos
Menu ---
  • Programming
    • C
    • C++
    • Java
    • Apex
    • File Handling
    • Python
    • Bash
    • PHP
  • Algorithm
    • Higher Order Thinking Skills Questions
    • Pointer
  • Data Structure
    • Array
    • Linked List
    • Tree
    • Stack
    • Queue
  • Competitive
    • Hackerrank
    • Hackerearth
  • Companies Tech
    • ThoughtWorks
    • NEC Tech
    • TCS
  • Database
    • Data Base and SQL
  • SFDC
    • More
    • Assignment
    • Videos

Coder in Me.

Learn coding & Play with it

Home » Archives for May 2018

Month: May 2018

Java Inheritance II HackerRank Problem- Coder In Me

In Hackerrank, JavaMay 26, 2018 Sharlo

Java Inheritance II HackerRank Problem : Write the following code in your editor below: A class named Arithmetic with a method named add that takes 2 integers as parameters and returns an integer denoting their sum. A class named Adder that inherits from a superclass named Arithmetic. Your classes should not be public. Firstly know about Inheritance in JAVA – Inheritance is an important pillar of OOP(Object Oriented Programming). It is the mechanism in java by which one class is …

Continue Reading

Java Datatypes Hackerrank Problem – CoderInMe

In Hackerrank, JavaMay 20, 2018 Sharlo

Problem related to Java Datatypes Hackerrank Problem :  Java has 8 primitive datatypes: char, boolean, byte, short, int, long, float, and double are Java Datatypes. For this Java DataTypes Hackerrank Problem, we’ll work with the primitives used to hold integer values (byte, short, int, and long): A byte is an 8-bit signed integer. A short is a 16-bit signed integer. An int is a 32-bit signed integer. A long is a 64-bit signed integer. Given an input integer, you must …

Continue Reading

Java Method Overriding by Super Keyword – Coder In Me

In Hackerrank, JavaMay 13, 2018 Sharlo

Problem : When a method in a subclass overrides a method in superclass, it is still possible to call the overridden method using super keyword. It is a problem of Java Method Overriding by Super Keyword. If you write super.func() to call the function func(), it will call the method that was defined in the superclass. You are given a partially completed code in the editor. Modify the code so that the code prints the following text: Hello I am a …

Continue Reading

Java End-of-file HackerRank Problem – Coder In Me

In Hackerrank, JavaMay 13, 2018 Sharlo

Here the challenge of Java End-of-file HackerRank Problem is to read n lines of input until you reach EOF, then number and print all lines of content. EOF represents  — end-of-file. To solve  Java End-of-file HackerRank Problem  we take a hint like this- Hint: Java’s Scanner.hasNext() method is helpful for this problem. HERE–   hasNext() checks if there is a string remaining in the Scanner; and returns false only when nothing is left there, which is equivalent to EOF. Input Format …

Continue Reading

Roy’s Picture Hackerearth Problem Solution – Coder In Me

In C, HackerearthMay 8, 2018 Sharlo

Roy wants to change his profile picture on Facebook. Now Facebook has some restriction over the dimension of Roy’s Picture that we can upload. It is a problem of  . Minimum dimension of the picture can be L x L, WHERE L is the length of the side of square. Now Roy has N photos of various dimensions. Dimension of a photo is denoted as W x H where W – width of the photo AND H – Height of the …

Continue Reading

Toggle String Hackerearth Problem Solution – Coder In Me

In C, HackerearthMay 7, 2018 Sharlo

You have been given a String S consisting of uppercase and lowercase English alphabets. You need to change the case of each alphabet in this String. That is, all the uppercase letters should be converted to lowercase and all the lowercase letters should be converted to uppercase. That is Toggle String. You need to then print the resultant String to output. Input Format Of Toggle String The first and only line of input contains the String S Output Format Print …

Continue Reading

The Hurdle Race Hackerrank Problem Solution- Coder In Me

In C++, Hackerrank, Java, PythonMay 6, 2018 hasectic

Dan is playing a video game in which his character competes in The Hurdle Race. Hurdles are of varying heights, and Dan has a maximum height he can jump. There is a magic potion he can take that will increase his maximum height by 1 unit for each dose. How many doses of the potion must he take to be able to jump all of the hurdles? Given an array of hurdle heights h, and an initial maximum height Dan …

Continue Reading
Older Posts

Site Sidebar

Code Blog

Blog of Coder In Me

Code Division

  • Algorithm
  • Apex
  • Array
  • Assignment
  • Bash
  • C
  • C++
  • Companies Tech
  • Competitive
  • Data Base and SQL
  • Data Structure
  • Database
  • File Handling
  • graph
  • Hackerearth
  • Hackerrank
  • HOTS
  • Java
  • Javascript
  • Linked List
  • More
  • NEC Tech
  • PHP
  • PHP
  • Pointer
  • Programming
  • Project
  • Python
  • Queue
  • SFDC
  • Stack
  • TCS
  • ThoughtWorks
  • Tree
  • Trigger
  • VisualForce Page

Recent Posts

  • Populate Auto Number for Area using Trigger – Coderinme
  • Rest API First Example in Salesforce- CoderinMe
  • Webservice and Callout using REST API for Salesforce – Coderinme
  • SelectList, Select Option & Action Function in Salesforce
  • Batch Class and Scheduler Apex Salesforce – coderinme

Recent Comments

  • chetan upreti on Time Conversion Hackerrank Problem coderinme
  • Shivam on Arrays – DS Hackerrank problem solution
  • Anonymous on A Very Big Sum Hackerrank Problem coderinme
  • hasectic on Arrays – DS Hackerrank problem solution
  • Anonymous on 2D Array – DS Hackerrank problem solution

Site Footer

About Coder In Me

About Coder In Me

Coderinme is the platform where you can learn the basic coding and programming in C , C++, Java, Python,PHP,Shell, MySQL. To evaluate you, Coderinme also provides the Assignment Questions, HOTS(hoigher order thinking skills) Questions.

Monthly Diary

  • January 2019 (3)
  • December 2018 (2)
  • October 2018 (1)
  • September 2018 (1)
  • August 2018 (2)
  • July 2018 (1)
  • May 2018 (11)
  • March 2018 (6)
  • February 2018 (17)
  • January 2018 (8)
  • December 2017 (19)
  • November 2017 (17)
  • October 2017 (11)
  • September 2017 (12)
  • August 2017 (24)
  • July 2017 (11)
  • June 2017 (4)
  • May 2017 (7)
  • March 2017 (6)
  • February 2017 (21)
  • January 2017 (32)
  • December 2016 (4)
  • November 2016 (5)
  • October 2016 (139)

Snapshots

  • About Us
  • Contact Us
  • Videos
  • Higher Order Thinking Skills Questions
  • Terms of Use
  • Privacy Policy
  • Coderinme what and how to use?

Code Blog

Blog of Coder In Me
© Coder in Me 2016-17 coderinme.com