There is a fence with n posts, each post can be painted with one of the k colors. You have to paint all the posts such that no more than two adjacent fence posts have the same color. Return the total number of ways you can paint the fence.
Intern Interview Questions
249,971 intern interview questions shared by candidates
all about you and what skills you'll be bringing to the job
leetcode question: 3 people hang out, print out all the transactions between them
Resume based questions. Basic concepts on machine learning
Data Structures and Algorithms Questions
What do you want to get out of an internship?
Introduce yourself
Method to find all duplicates of letters in a string. A few simple data structure runtime questions. Questions on OO design.
What is the difference between a HashTable and HashMap in Java?
what is the latest trend you forsee to impact the world.
Viewing 1401 - 1410 interview questions