...

Full Bio

SD Bootcamp Codeup Launching New Data Science Program For People To Make Careers In Data Science

yesterday

Python Raising Most Popular Programming Languages In The World - List 2018

yesterday

The Biggest Issue With Machine Learning Algorithms

2 days ago

10 Things You Might Be Cut Out for A Data Scientist Job

2 days ago

Which Programming Languages in Demand & Earn The Highest Salaries?

284403 views

50+ Data Structure, Algorithms & Programming Languages Interview Questions for Programmers

172857 views

100+ Data Structure, Algorithms & Programming Language Interview Questions Answers for Programmers - Part 1

149367 views

Five books every data scientist should read that are not about data science

128301 views

How I Wrote programming language. Here's how you can, too.

124491 views

### 100+ Data Structure, Algorithms & Programming Language Interview Questions Answers for Programmers - Part 1

- Print duplicate characters from String? (solution)
- Check if two Strings are anagrams of each other? (solution)
- Print first non repeated character from String? (solution)
- Reverse a given String using recursion? (solution)
- Check if a String contains only digits? (solution)
- Find duplicate characters in a String? (solution)
- Count a number of vowels and consonants in a given String? (solution)
- Count the occurrence of a given character in String? (solution)
- Find all permutations of String? (solution)
- Reverse words in a given sentence without using any library method? (solution)
- Check if two String is a rotation of each other? (solution)
- Check if given String is Palindrome? (solution)

- Find a missing number in given integer array of 1 to 100? (solution)
- Find the duplicate number on a given integer array? (solution)
- Largest and smallest number in an unsorted integer array? (solution)
- Find all pairs of integer array whose sum is equal to a given number? (solution)
- Find duplicate numbers in an array if it contains multiple duplicates? (solution)
- Remove duplicates from given array in Java? (solution)
- Sort an integer array in place using QuickSort algorithm? (solution)
- Remove duplicates from an array in place? (solution)
- Reverse an array in place in Java? (solution)
- Find multiple missing numbers in given integer array with duplicates? (solution)
- Perform a binary search in given array? (solution)
- Transpose a Matrix? (solution)
- Add or subtract two Matrices? (solution)
- Multiply two Matrices in Java? (solution)
- Calculate the average of all numbers in given array? (solution)

- Find the middle element of a singly linked list in one pass? (solution)
- Find the 3rd node from the end in a singly linked list? (solution)
- Check if a given linked list contains cycle? How to find the starting node of the cycle? (solution)
- Find the length of a singly linked list? (solution)
- Reverse a linked list? (solution)
- Reverse a singly linked list without recursion? (solution)
- Remove duplicate nodes in an unsorted linked list?
- Find the sum of two linked list using Stack? (program)

- Implement a binary search tree? (solution)
- Pre-order traversal in given binary tree? (solution)
- Traverse a given binary tree in Pre-order without recursion (solution)
- Implement Post-order traversal algorithm? (solution)
- Traverse a binary tree in Post order traversal without recursion (solution)
- Print all leaves of a binary search tree? (solution)
- Count a number of leaf nodes in the given binary tree? (solution)
- In order traversal in given binary tree? (solution)
- Print all nodes of given binary tree using inorder traversal without recursion (solution)
- Check if a given binary tree is a binary search tree?
- Check if a binary tree is balanced or not?
- Given a binary search tree, how do you check whether there are two nodes in it whose sum equals a given value?
- convert a binary search tree to a sorted double-linked list.you are only allowed to change the target of pointers, but cannot create any new nodes.
- Given a binary search tree and a value k, How do you find a node in the binary search tree whose value is closest to k.

- How do you implement a Queue using two Stacks?
- Write a Java program to implement Stack using an array and linked list?
- How do you implement Stack using Queues?
- Given a binary tree, return the postorder traversal of its nodes' values, using Stack?
- Difference between Stack and Queue data structure (answer)

- Implement the Bubble Sort algorithm? (solution)
- Implement Iterative QuickSort Algorithm? (solution)
- Implement the Bucket Sort Algorithm? (solution)
- Implement Counting Sort Algorithm? (solution)
- Implement the Insertion Sort Algorithm? (solution)
- Implement a Merge Sort Algorithm? (solution)
- Implement a Radix Sort Algorithm? (solution)
- Implement Sieve of Eratosthenes Algorithm to find Prime numbers? (solution)
- Find GCD of two numbers using Euclid's Algorithm? (solution)

- Swap two numbers without using the third variable? (solution)
- Check if two rectangles overlap with each other? (solution)
- Design a Vending Machine? (solution)
- Implement an LRU Cache in your favorite programming language? (solution)
- Check if a given number is a Palindrome? (solution)
- Check if a given number is an Armstrong number? (solution)
- Find all prime factors of a given number? (solution)
- Check if a given number is a positive or negative in Java? (solution)
- Find the largest prime factor of a given integral number? (solution)
- Print all prime numbers up to a given number? (solution)
- Print Floyd's triangle? (solution)
- Print Pascal's triangle? (solution)
- Calculate the square root of a given number? (solution)
- Check if given number is a prime number? (solution)
- Add two numbers without using plus operator in Java? (solution)
- Check if a given number is even/odd without using Arithmetic operator? (solution)
- Print a given Pyramid structure? (solution)
- Find the highest repeating world from a given file in Java? (solution)
- The reverse is given Integer in Java? (solution)
- Convert a decimal number to binary in Java? (solution)
- Check if a given year is a leap year in Java? (solution)