Featured Article

Minimum Initial Energy Required To Cross Street

Given an array containing positive and negative numbers. The array represents checkpoints from one end to other end of street. Positive and negative values represent amount of energy at that checkpoint. Positive numbers increase the energy and negative numbers decrease. Find the minimum initial energy required to cross the street such that Energy level never… Read More »

Walmart Lab Interview Experience | Set 9 (Off-Campus)

there were 5 rounds of interview with 3 technical round, 1 director round and 1 HR round. Round 1 (Technical) 1st question :- http://www.geeksforgeeks.org/minimum-number-of-jumps-to-reach-end-of-a-given-array/ 2nd Question :- Given an alien language dictionary where the words are sorted, we need to figure out the list and order of the alphabets for that language. Round 2 (Technical)… Read More »

Carmichael Numbers

A number n is said to be a Carmichael number if it satisfies the following modular arithmetic condition: power(b, n-1) MOD n = 1, for all b ranging from 1 to n such that b and n are relatively prime, i.e, gcd(b, n) = 1 Given a positive integer n, find if it is a… Read More »

Heap queue (or heapq) in Python

Heap data structure is mainly used to represent a priority queue. In Python, it is available using “heapq” module. The property of this data structure in python is that each time the smallest of heap element is popped(min heap). Whenever elements are pushed or popped, heap structure in maintained. The heap[0] element also returns the… Read More »

Oracle Interview Experience | Set 40 ( FSS Application Developer )

Technical round Difference between c and c++ Oops concepts (questions related to polymorphism, abstraction, inheritance). Write a code to show these things. What is recursion? Internal structure of recursion Questions on trees, stacks, queues. Code to find lca of a tree using recursion code in plsql(sum of 2 numbers) questions on dbms(normalization, forms of normalization,… Read More »

transient keyword in Java

transient is a variables modifier used in serialization. At the time of serialization, if we don’t want to save value of a particular variable in a file, then we use transient keyword. When JVM comes across transient keyword, it ignores original value of the variable and save default value of that variable data type. transient… Read More »

Thorogood Interview Experience | Set 1

Company Name: Thorogood Location: Bangalore Presence: India, UK, USA Domain: Business Intelligence and Analytics Consultant Hello all, Hope this interview experience will help you.. “Thorogood is all about analyzing your ANALYTICAL SKILLS” First round: Online exam (on Campus) — 1 hour Focus was on your communication skills and analytical skills only. Round consisted of 2… Read More »

Geek on the top – Rachit Belwariar | The best part at writing GeeksforGeeks were the questions asked by other users on my articles

Geek on the top is all about success stories of Geeks who are working hard to chase their goals and are inspiration for other geeks. Rachit Belwariar is studying a 5-Year Integrated B.Tech-M.Tech Dual Degree Course in Information Technology from Indian Institute of Engineering Science and Technology, Shibpur and  currently a Google intern at Google Headquarters,… Read More »

KLA Tencor Interview Experience | Set 2 ( Associate Software Engineer )

KLA Tencor came for Full Time recruitment for Associate Software Engineer in our campus. Round 1 Online test on HackerRank contains 20 MCQ (DS, C++, Aptitude, Puzzle) and 3Coding Questions 1. Find the longest length Palindromic substring in the given string. http://www.geeksforgeeks.org/longest-palindromic-substring-set-2/ 2. Find the strings in the list of string which does not have… Read More »

enum in Java

Enumerations serve the purpose of representing a group of named constants in a programming language. For example the 4 suits in a deck of playing cards may be 4 enumerators named Club, Diamond, Heart, and Spade, belonging to an enumerated type named Suit. Other examples include natural enumerated types (like the planets, days of the… Read More »