Java2Blog
  • Home
  • Core Java
  • Tutorials
    • Spring
    • Spring Boot
    • Spring MVC
    • Java 8
    • Hibernate
  • Categories
    • Interview Questions
    • Spring Frameworks
    • Core java
    • Python
    • C++
  • NM
close
import_contacts

Java Tutorials

  • Core Java
  • Java Interview questions
  • Java 8 Stream
  • Java interview programs
import_contacts

Data structure and algorithm

  • Data structure in java
  • Data structure interview questions
import_contacts

Spring tutorials

  • Spring tutorial
  • Spring boot tutorial
  • Spring MVC tutorial
  • Spring interview questions

Author: Arpit Mandliya

  • Algorithm Interview Array
    03 October

    Find all pairs of elements from an array whose sum is equal to given number

    If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. Problem : Given a  array,we need to find all pairs whose sum is equal to number X. For example: [crayon-68c195a3c1952503586581/] Solution : Solution 1: You can check each and every pair of numbers and find the […]

    Read More
  • Java Certification
    02 October

    OCAJP 8 – StringBuilder Mock Questions

    In my previous post, I have reviewed an OCAJP 8 mock exam simulator which I have used for the exam preparation. One of the exam objectives in OCAJP 8 exam is “Manipulate data using the StringBuilder class and its methods”. This exam objective tests your knowledge on how to write StringBuilder class and use its […]

    Read More
  • Java Certification
    01 October

    Cracking Java certification OCAJP 8 with Whizlabs

    In this post, I  will share about Whizlabs OCAJP 8 exam simulator as it might help OCAJP 8 aspirates as it helped me. I was going through OCAJP 8 course recently and it includes lambda expressions, default methods and various functional interface such as Consumer, Predicate etc. It is quite hard to pass OCAJP 8 because […]

    Read More
  • Algorithm Interview Array
    01 October

    Given a sorted array and a number x, find the pair in array whose sum is closest to x

    If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. Problem : Given a sorted array,we need to find a pair whose sum is closed to number X in Array. For example: [crayon-68c195a3c305c749233853/] Solution : Solution 1: You can check each and every pair of numbers […]

    Read More
  • Algorithm Interview Array
    01 October

    Find a Pair Whose Sum is Closest to zero in Array

    If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. Problem : Given array of +ve and -ve integers ,we need to find a pair whose sum is closed to Zero in Array. For example: [crayon-68c195a3c34ef548569832/] Solution : Solution 1: You can check each and every […]

    Read More
  • Algorithm Interview Array
    29 September

    find transpose of a matrix in java

    If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. In this post, we will see how to find transpose of matrix in java. Transpose of matrix? A matrix which is created by converting all the rows of a given matrix into columns and vice-versa. Below […]

    Read More
  • Algorithm Interview Array
    28 September

    Minimum Number of Platforms Required for A Railway Station

    If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. 1. Introduction to Problem You are given arrival and departure time of trains reaching to a particular station. You need to find minimum number of platforms required to accommodate the trains at any point of time. […]

    Read More
  • Algorithm Interview Array
    26 September

    Find the number occurring odd number of times in an array

    If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. In this post, we will see how to find number occurring odd number of times in the array. Problem: You are given a array of integer. All numbers occur even number of times except one. You […]

    Read More
  • Algorithm Interview Array java programs
    24 September

    Java Program to Find Second Largest Number in An Array

    If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. 1. Overview In this post, we will see how to find the second largest number in an array. This is a one of common interview questions on array data structure. 2. Introduction to Problem Statement Given […]

    Read More
  • keyboard_arrow_left Previous
  • 1
  • …
  • 125
  • 126
  • 127
  • 128
  • 129
  • …
  • 163
  • Nextkeyboard_arrow_right

Newsletter


Let’s be Friends

  • Facebook
  • Twitter
  • LinkedIn

© 2020-22 Java2Blog Privacy Policy