GeeksforGeeks
Courses Suggest an Article
×
Suggest a Topic
Skip to content
  • Algo ▼
    • Analysis of Algorithms
    • Topicwise ►
      • Searching Algorithms
      • Sorting Algorithms
      • Graph Algorithms
      • Bit Algorithms
      • Pattern Searching
      • Geometric Algorithms
      • Mathematical Algorithms
      • Randomized Algorithms
      • Game Theory
    • Algorithm Paradigms ►
      • Greedy Algorithms
      • Dynamic Programming
      • Divide and Conquer
      • Backtracking
      • Branch & Bound
    • All Algorithms
  • DS ▼
    • Array
    • LinkedList
    • Stack
    • Queue
    • Tree based DS ►
      • Binary Tree
      • Binary Search Tree
      • Heap
    • Hashing
    • Graph
    • Advanced Data Structure
    • Matrix
    • Strings
    • All Data Structures
  • Languages ▼
    • C
    • C++
    • Java
    • Python
    • C#
    • PHP
    • JavaScript
    • SQL
    • HTML
    • CSS
    • Program Output
  • Interview ▼
    • Company Prep
    • Top Topics
    • Practice Company Questions
    • Interview Experiences
    • Experienced Interviews
    • Internship Interviews
    • Competitive Programming
    • Design Patterns
    • Multiple Choice Quizzes
  • Students ▼
    • Campus Ambassador Program
    • Project
    • Geek of the Month
    • Placement Course
    • Competitive Programming
    • Testimonials
    • Geek on the Top
    • Careers
    • Internship
    • School Programming
  • GATE ▼
    • GATE Notes
    • GATE CS Corner
    • Last Minute Notes
    • GATE 2019
    • GATE Official Papers
    • ISRO CS Exam
    • UGC NET Papers
    • UGC NET CS Paper II
    • UGC NET CS Paper III
  • CS Subjects ▼
    • Core Subjects ►
      • Engg. Mathematics
      • Operating Systems
      • Computer Networks
      • DBMS
      • Compiler Design
      • Theory of Computation
      • Digital Electronics
      • Computer Organization & Architecture
      • Software Engineering
      • Microprocessor
    • Web Technology
    • Advanced Topics
    • Machine Learning
    • Computer Graphics
    • What’s Difference?
  • Quizzes ▼
    • Languages ►
      • C
      • C++
      • Java
      • Python
    • CS Subjectwise ►
      • Data Structures
      • Algorithms
      • Operating Systems
      • DBMS
      • Compiler Design
      • Computer Networks
      • Theory of Computation
      • Computer Organization
      • Software Engineering
    • HTML & XML
    • Engg. Mathematics
    • Aptitude
  • GBlog
  • Puzzles
  • Practice
  • Courses @ GeeksforGeeks
  • Internships @ GeeksforGeeks
  • Coding Practice
  • How to write an Interview Experience?
  • Must Do Coding Questions Company-wise
  • Must Do Coding Questions Topic-wise
  • Basic
  • Easy
  • Medium
  • Hard
  • Expert
  • Step by Step Preparation
  • Company Preparation
  • Top Topics
  • Company Specific Practice
  • Software Design Patterns
  • Placements Preparation Course
  • Interview Corner
  • Recent Interview Experiences
  • GQ Home Page
  • Quiz Corner
  • LMNs
  • What's New ?
  • Leaderboard !!
  • Topic-wise Practice
  • Subjective Problems
  • Difficulty Level - School
  • Difficulty Level - Basic
  • Difficulty Level - Easy
  • Difficulty Level - Medium
  • Difficulty Level - Hard
  • Explore More...
  • C
  • C++
  • Java
  • Python
  • SQL
  • PHP
  • JavaScript
  • School Programming
  • Operating Systems
  • DBMS
  • Computer Networks
  • Engineering Mathematics
  • Design Patterns
  • Common Interview Puzzles
  • Web Technology
  • G-Facts
  • Computer Graphics
  • Image Processing
  • Project Ideas

Output of Java Programs | Set 32

4.5

Prerequisite : Arrays in Java Question 1. What is the output of following program? filter_none edit close play_arrow link brightness_4 code class ArrayDemo { public… Read More »

Program Output
Java-Arrays
Java-Output

Wipro Turbo Hiring Process | Set 9 (For Project Engineer)

2

Profiles Offered: DIGITAL, ANALYTICS, PES, MNT, COMMUNICATION. FIRST ROUND(PART-1): Cocubes Online Test –70 Mins –60 Questions–MCQ’s 20-Technical(C, C++ or JAVA based upon your selection )-All… Read More »

Interview Experiences
Wipro
Wipro-interview-experience

Check if sums of i-th row and i-th column are same in matrix

1.5

Given a matrix mat[][], we have to check if the sum of i-th row is equal to the sum of i-th column or not. Examples:… Read More »

Matrix

Sort an array according to absolute difference with a given value “using constant extra space”

4

Given an array of n distinct elements and a number x, arrange array elements according to the absolute difference with x, i. e., element having… Read More »

Sorting
Insertion Sort

Find n-th element in a series with only 2 digits (4 and 7) allowed | Set 2 (log(n) method)

3.7

Consider a series of numbers composed of only digits 4 and 7. First few numbers in the series are 4, 7, 44, 47, 74, 77,… Read More »

Mathematical
number-digits
series

Microsoft Interview Experience | Set 136 (On Campus for Internship)

3.1

First Round consisted of 3 easy coding problems to be solved on an online platform (CoCubes) . The problems were fairly easy and didn’t require… Read More »

Internship
Interview Experiences
Microsoft

Word Break Problem | (Trie solution)

3.2

Given an input string and a dictionary of words, find out if the input string can be segmented into a space-separated sequence of dictionary words.… Read More »

Strings
Trie

Qualcomm Interview Experience | Set 15 (On-Campus)

3

Round 1: Written exam with three section, quantitative and reasoning, computer science and last one is programming MCQ, each section with 25 min and 20… Read More »

Interview Experiences
Qualcomm

Check if a number is power of 8 or not

2.8

Given a number check whether it is power of 8 or not. Examples : Input : n = 64 Output : Yes Input : 75… Read More »

Bit Magic
featured

Factset Interview Experience | Set 12 (On-Campus)

4

First Round(Pen and Paper based coding round)- 60 min 1. You are given a NxN matrix.You have to rotate same coloured rectangle clockwise or anticlockwise… Read More »

Interview Experiences
FactSet

Yatra.com Interview Experience | Set 8 (On-Campus for Software Developer )

2

Yatra visited our campus. There were 5 rounds. #Round 1:Online Test on hackerrank. It consisted of 15 MCQs and 4 coding questions. MCQs were having… Read More »

Interview Experiences
Yatra.com

Maximum sum bitonic subarray

3.4

Given an array containing n numbers. The problem is to find the maximum sum bitonic subarray. A bitonic subarray is a subarray in which elements… Read More »

Arrays
Dynamic Programming
bitonic

Total number of divisors for a given number

1.6

Given a positive integer n, we have to find the total number of divisors for n. Examples: Input : n = 25 Output : 3… Read More »

Mathematical
divisibility
divisors
prime-factor
sieve

Sorting array of strings (or words) using Trie

3.1

Given an array of strings, print them in alphabetical (dictionary) order. If there are duplicates in input array, we need to print them only once.… Read More »

Sorting
Strings
Trie

Check if a number has two adjacent set bits

2.2

Given a number you have to check whether there is pair of adjacent set bit or not. Examples : Input : N = 67 Output… Read More »

Bit Magic
Numbers
Page 1,410 of 2,172« First«...102030...1,4081,4091,4101,4111,412...1,4201,4301,440...»Last »

Most Popular Articles
  • Must Do Coding Questions for Companies like Amazon, Microsoft, Adobe, ...
  • Must Do Coding Questions Company-wise
  • Why array index starts from zero ?
  • string find in C++
  • Taking input from console in Python

Most Visited Articles
  • Python list sort()
  • How do I become a good Java programmer?
  • How to prepare for GATE CSE - 2019
  • GATE CSE Test Series - 2019 | Sudo GATE
  • Practice for cracking any coding interview

Most Trending Articles
  • Implementing a Linked List in Java using Class
  • OOPs | Object Oriented Design
  • How to get rid of Java TLE problem
  • Implement a stack using singly linked list
  • Remove duplicates from unsorted array
  • Introduction to HTML CSS | Learn to Design your First Website in Just 1 Week
  • HTML Course | Structure of an HTML Document
  • HTML Course | First Web Page | Printing Hello World
  • HTML Course | Basics of HTML
  • Taking input in Python
  • Taking multiple inputs from user in Python
  • Amazon Interview Experience SDE Off Campus
  • Amazon Interview Experience SDE-1
  • Amazon Interview Experience SDE 1 (2.5 Years Experienced)
  • Amazon Interview Experience SDE1

  • GeeksforGeeks
  • 710-B, Advant Navis Business Park,
  • Sector-142, Noida, Uttar Pradesh - 201305
  • feedback@geeksforgeeks.org
  • COMPANY
  • About Us
  • Careers
  • Privacy Policy
  • Contact Us
  • LEARN
  • Algorithms
  • Data Structures
  • Languages
  • CS Subjects
  • Video Tutorials
  • PRACTICE
  • Company-wise
  • Topic-wise
  • Contests
  • Subjective Questions
  • CONTRIBUTE
  • Write an Article
  • Write Interview Experience
  • Internships
  • Videos
@geeksforgeeks, Some rights reserved