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

HomeProgramming Language

Posts in category: Programming Language

N Stars Functions in java

N Stars Functions in java

December 8, 2022
by Grand Coder Java Code

In this task, you have to print n stars * vertically and n horizontally. You are given functions to complete. Donot worry about the input and ouput of functions just print n vertical stars in vertical and  ...

Read More
0
Right view of Binary tree in java

Right view of Binary tree in java

December 7, 2022
by Grand Coder Java Code

You are given a root pointer to the root of binary tree. You have to print the right view of the tree from top to bottom. Note The right view of a tree is the set of nodes that are visible from the right side. You need to complete ...

Read More
0
Flatten Binary Tree to Linked List in java

Flatten Binary Tree to Linked List in java

December 6, 2022
by Grand Coder Java Code

Given the root of a binary tree, flatten the tree into a "linked list": The "linked list" should use the same Node class where the right child pointer points to the next node in the list and the left child pointer is always null. The "linked l ...

Read More
0
JS Reverse in java

JS Reverse in java

December 5, 2022
by Grand Coder Java Code

Given a number, you task is to reverse its digits. If the reversed number contains 0s in the beginning, you must remove them as well. Input Format Functional problem, Number is the input Output Format Output is a single line containing r ...

Read More
0
Find Target Indices After Sorting Array in java

Find Target Indices After Sorting Array in java

December 4, 2022
by Grand Coder Java Code

You are given a 0-indexed integer array nums and a target element target. A target index is an index i such that nums == target. print a list of the target indices of nums after sorting nums in non-decreasing order. If there are no target indi ...

Read More
0
SORT THE HALF SORTED in java

SORT THE HALF SORTED in java

December 3, 2022
by Grand Coder Java Code

Given an integer array of which both the first half and second half are sorted. The task is to merge two sorted halves of the array into a single sorted array. Note: The two halves can be of arbitrary sizes. Input Format line 1: contains an ...

Read More
0
Second Smallest in java

Second Smallest in java

December 2, 2022
by Grand Coder Java Code

Find the 2nd smallest element in an unsorted array. Input Input consists of the first line containing integer N followed by N natural numbers for the array. Constraints: 1 <= n <= 100001 <= value of natural number <= 10000000 ...

Read More
0
Reshape the Matrix in java

Reshape the Matrix in java

December 1, 2022
by Grand Coder Java Code

In MATLAB, there is a very useful function called "reshape", which can reshape a matrix into a new one with different size but keep its original data. You are given a matrix represented by a two-dimensional array (m*n), and two positive integers ...

Read More
0
Buildings in java

Buildings in java

November 30, 2022
by Grand Coder Java Code

There are N buildings in a row with different heights(H). You are viewing the buildings from the left and can see the roof of a building, if no building to the left of that building has height greater than equal to height of that building. You are a ...

Read More
0
Quadrants in java

Quadrants in java

November 29, 2022
by Grand Coder Java Code

A common problem in mathematics is to determine which quadrant a given point lies in. There are four quadrants, numbered from 1 to 4, as shown in the diagram below: For example, the point A, which is at coordinates (12,5) lies in quadrant 1 s ...

Read More
0
  • First
  • Previous
  • 1
  • 2
  • 3
  • 4
  • ...
  • 18
  • 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

  • RoadMap of Full Stack BlockChain Developer

    Complete Roadmap for Full Stack Blockcha...

    December 10, 2022
    web

    Best Web Development Projects for Beginn...

    June 15, 2022
    MERN Stack Development

    RoadMap of MERN Stack Development

    December 11, 2022
    How to learn c programming - GrandCoder

    The Ultimate Guide to Programming in C

    June 8, 2022

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