Code Monkey home page Code Monkey logo

Hakan Loyan's Projects

climbingstairs-leetcode icon climbingstairs-leetcode

You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?

javaodev icon javaodev

Source Files Of Java Lessons's HomeWork-1

kth-missing-positive-number-leetcode icon kth-missing-positive-number-leetcode

Given an array arr of positive integers sorted in a strictly increasing order, and an integer k. Return the kth positive integer that is missing from this array.

length-of-last-word-leetcode icon length-of-last-word-leetcode

Given a string s consisting of words and spaces, return the length of the last word in the string. A word is a maximal substring consisting of non-space characters only.

longest-common-prefix-leetcode icon longest-common-prefix-leetcode

Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "".

maximum-level-sum-of-a-binary-tree-leetcode icon maximum-level-sum-of-a-binary-tree-leetcode

Given the root of a binary tree, the level of its root is 1, the level of its children is 2, and so on. Return the smallest level x such that the sum of all the values of nodes at level x is maximal.

merge-two-sorted-lists-leetcode icon merge-two-sorted-lists-leetcode

You are given the heads of two sorted linked lists list1 and list2. Merge the two lists in a one sorted list. The list should be made by splicing together the nodes of the first two lists. Return the head of the merged linked list.

plusone-leetcode icon plusone-leetcode

You are given a large integer represented as an integer array digits, where each digits[i] is the ith digit of the integer. The digits are ordered from most significant to least significant in left-to-right order. The large integer does not contain any leading 0's. Increment the large integer by one and return the resulting array of digits.

remove-duplicates-from-sorted-array-leetcode icon remove-duplicates-from-sorted-array-leetcode

Given an integer array nums sorted in non-decreasing order, remove the duplicates in-place such that each unique element appears only once. The relative order of the elements should be kept the same.

same-tree-leetcode icon same-tree-leetcode

Given the roots of two binary trees p and q, write a function to check if they are the same or not. Two binary trees are considered the same if they are structurally identical, and the nodes have the same value.

search-inderst-position-leetcode icon search-inderst-position-leetcode

Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.

symmetric-tree-leetcode icon symmetric-tree-leetcode

Given the root of a binary tree, check whether it is a mirror of itself (i.e., symmetric around its center).

twosum-leetcode icon twosum-leetcode

Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.

uncrossed-lines-leetcode icon uncrossed-lines-leetcode

I learned Iterative Dynamic Programming on spesifically in the context of this LeetCode problem. It was like a light bulb going off in my mind.

valid-parentheses-leetcode icon valid-parentheses-leetcode

Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: Open brackets must be closed by the same type of brackets. Open brackets must be closed in the correct order. Every close bracket has a corresponding open bracket of the same type.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.