GrandCoder-Img

Elevate Your Coding Skills

Elevate Your Coding Skills

  • Home
  • Programming Language
    • Java Code
    • Documentation
  • Grand Coder Product
    • Grand Coder Jobs
    • Grand Coder Forum
    • Grand Coder Campus
  • Blog
  • Contact Us
  • Guest Post
  • About Us

HomeJava Code

Posts in category: Java Code

Most Frequent Word in Array

Most Frequent Word in Array

October 29, 2022
by Grand Coder Java Code

Given an array arr containing N words consisting of lowercase characters. Your task is to find the most frequent word in the array. If multiple words have same frequency, then print the word whose fi ...

Read More
0
HCF of two Numbers in java

HCF of two Numbers in java

October 27, 2022
by Grand Coder Java Code

Given two number a and b, find their HCF. What Is HCF? HCF or Highest Common Factor is the greatest common divisor between two numbers. Input Format The first line of input contains the integers a and b. ...

Read More
0
Diagonal Difference! in java

Diagonal Difference! in java

October 26, 2022
by Grand Coder Java Code

Given a square matrix of size N, calculate the absolute difference between the sums of its diagonals. Input Format The first line contains a single integer N, the number of rows and columns in the square matrix . Each of the next N lines de ...

Read More
0
Max Element in java

Max Element in java

October 25, 2022
by Grand Coder Java Code

Given an array of integers, you need to find its maximum value element. Input The input contains N spaced integers. There is no size of the array given beforehand. You will have to use some other way of reading input values. Constraints ...

Read More
0
Marc's Cakewalk in java

Marc’s Cakewalk in java

October 24, 2022
by Grand Coder Java Code

Marc loves cupcakes, but he also likes to stay fit. Each cupcake has a calorie count, and Marc can walk a distance to burn those calories. On eating the jth cupcake with c calories, he must walk at least (2ʲ)*c miles to maintain his weight. Fo ...

Read More
0
Stopwatch in java

Stopwatch in java

October 23, 2022
by Grand Coder Java Code

Robin just received a stopwatch from her grandfather. Robin’s stopwatch has a single button. Pressing the button alternates between stopping and starting the stopwatch’s timer. When the timer is on, the displayed time increases by 1 every second. ...

Read More
0
Convert To Palindrome in java

Convert To Palindrome in java

October 22, 2022
by Grand Coder Java Code

Given a string S consisting only of lowercase characters. We need to check whether it is possible to make this string a palindrome after removing exactly one character from this. If it is possible then print 1 else return  ...

Read More
0
Sum of Subarray Minimums in java

Sum of Subarray Minimums in java

October 21, 2022
by Grand Coder Java Code

Given an array of integers arr, find the sum of the minimums of all contiguous subarrays of the array. Since the answer may be large, print the answer modulo 10^9 + 7. Input Format The first line contains a single integer n(size of the array) ...

Read More
0
Immediate Smaller Element in java

Immediate Smaller Element in java

October 20, 2022
by Grand Coder Java Code

Given an integer array arr of size n. For each element in the array, check whether the right adjacent element (on the next immediate position) of the array is smaller. If next element is smaller, update the current index to that element. If not, the ...

Read More
0
Next Greater Element in java

Next Greater Element in java

October 19, 2022
by Grand Coder Java Code

Given an array arr of size n of non-zero positive integers, the task is to find the next greater element for each element of the array in order of their appearance in the array. Next greater element of an element in the array is the nea ...

Read More
0
  • First
  • Previous
  • 1
  • ...
  • 3
  • 4
  • 5
  • 6
  • 7
  • ...
  • 13
  • Next
  • Last

270189202_619051836075418_5115859421913271294_n

Abdul Ragib

PROGRAMMER & BLOGGER

Inspiring coder with ability to learn new technology. Helping others to improve their coding skills to be a good Coder. Always want to work on creative.

SUBSCRIBE & FOLLOW

Group-1471
Group-1472
Group-1473
download

MUST-READ ARTICLES

  • web

    Best Web Development Projects for Beginn...

    June 15, 2022
    RoadMap of Full Stack BlockChain Developer

    Complete Roadmap for Full Stack Blockcha...

    December 10, 2022
    How to learn c programming - GrandCoder

    The Ultimate Guide to Programming in C

    June 8, 2022
    programming background

    Building a Strong Programming Background...

    January 28, 2023

Join The Newsletter

You Will Receive The Latest News And Update On Your Favorite.

cropped-Grand-Coder-3-1-3.png

GrandCoder is a Programming Content Providing Website which provide best content on different different Programming languages, Web Development and Tech news.

  • Disclaimer
  • Privacy Policy
  • Refund Policy
  • Terms & Conditions
  • Shipping & Delivery Policy

Recent Posts

Building a Strong Programming Background: Tips and Strategies for Success

January 28, 2023
by Grand Coder

Programming Languages Python: Mastering the Dynamic and Versatile in 2023

January 24, 2023
by Grand Coder

CONTACT

Bihar

info@grandcoder.in contact@grandcoder.in

COPYRIGHT © 2021-2023 GrandCoder
Shopping Basket
Welcome to GrandCoder
Enter your email address

Thanks, I’m not interested