All Projects → magicoder10 → Lc Java

magicoder10 / Lc Java

Clean Leetcode solutions in Java

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Lc Java

Hands On Algorithmic Problem Solving
A middle-to-high level algorithm book designed with coding interview at heart!
Stars: ✭ 1,227 (+2172.22%)
Mutual labels:  algorithms, leetcode, coding-interviews
Fuck Coding Interviews
How on earth can I ever think of a solution like that in an interview?!
Stars: ✭ 464 (+759.26%)
Mutual labels:  algorithms, leetcode, coding-interviews
Algorithmic Pseudocode
This repository contains the pseudocode(pdf) of various algorithms and data structures necessary for Interview Preparation and Competitive Coding
Stars: ✭ 519 (+861.11%)
Mutual labels:  algorithms, leetcode, coding-interviews
Competitiveprogrammingquestionbank
This repository contains all the popular competitive programming and DSA questions with solutions.
Stars: ✭ 122 (+125.93%)
Mutual labels:  algorithms, leetcode, coding-interviews
Leetcode Sol Res
Clean, Understandable Solutions and Resources for LeetCode Online Judge Algorithm Problems.
Stars: ✭ 1,647 (+2950%)
Mutual labels:  algorithms, leetcode, coding-interviews
Interviews
Everything you need to know to get the job.
Stars: ✭ 54,875 (+101520.37%)
Mutual labels:  algorithms, leetcode, coding-interviews
Algorithms Leetcode Javascript
Algorithms resolution in Javascript. Leetcode - Geeksforgeeks - Careercup
Stars: ✭ 157 (+190.74%)
Mutual labels:  algorithms, leetcode, coding-interviews
Leetcode
Leetcode solutions
Stars: ✭ 2,894 (+5259.26%)
Mutual labels:  algorithms, leetcode, coding-interviews
Techinterview
💎 Cheat sheet to prep for technical interviews.
Stars: ✭ 454 (+740.74%)
Mutual labels:  algorithms, coding-interviews
Algorithms And Data Structures In Java
Algorithms and Data Structures in Java
Stars: ✭ 498 (+822.22%)
Mutual labels:  algorithms, leetcode
Leetcode
🕵️‍♂️ leetcode practice
Stars: ✭ 52 (-3.7%)
Mutual labels:  algorithms, leetcode
Coding Interview Gym
leetcode.com , algoexpert.io solutions in python and swift
Stars: ✭ 451 (+735.19%)
Mutual labels:  algorithms, leetcode
Dsa.js Data Structures Algorithms Javascript
🥞Data Structures and Algorithms explained and implemented in JavaScript + eBook
Stars: ✭ 6,251 (+11475.93%)
Mutual labels:  algorithms, coding-interviews
Leethub
Automatically sync your leetcode solutions to your github account - top 5 trending GitHub repository
Stars: ✭ 316 (+485.19%)
Mutual labels:  leetcode, coding-interviews
Python For Coding Test
[한빛미디어] "이것이 취업을 위한 코딩 테스트다 with 파이썬" 전체 소스코드 저장소입니다.
Stars: ✭ 596 (+1003.7%)
Mutual labels:  algorithms, coding-interviews
Hello Algorithm
🌍 针对小白的算法训练 | 包括四部分:①.算法基础 ②.力扣图解 ③.大厂面经 ④.CS_汇总 | 附:1、千本开源电子书 2、百张技术思维导图(项目花了上百小时,希望可以点 star 支持,🌹感谢~)
Stars: ✭ 29,372 (+54292.59%)
Mutual labels:  algorithms, leetcode
Leetcode.swift
Once upon a time there was a noob of algorithms, and he knew a little about Swift.
Stars: ✭ 351 (+550%)
Mutual labels:  algorithms, leetcode
Leetcode
🎓Leetcode solutions in Python 📚
Stars: ✭ 655 (+1112.96%)
Mutual labels:  leetcode, coding-interviews
Leetcode Downloader
Download your accepted LeetCode submissions
Stars: ✭ 25 (-53.7%)
Mutual labels:  algorithms, leetcode
Play With Algorithm Interview
Codes of my MOOC Course <Play with Algorithm Interviews>. Updated contents and practices are also included. 我在慕课网上的课程《玩儿转算法面试》示例代码。课程的更多更新内容及辅助练习也将逐步添加进这个代码仓。
Stars: ✭ 915 (+1594.44%)
Mutual labels:  algorithms, leetcode

Leetcode in Java

Clean Leetcode solutions in Java

What are included?

# Description Solution Performance
1 Two Sum TwoSum.java Beat 98.8%
2 Add Two Numbers AddTwoNumbers.java Beat 100%
3 Longest Substring Without repeating Characters LongestSubstrNoRepeatChars.java Beat 99.86%
4 Median of Two Sorted Arrays MedianTwoSortedArrays.java Beat 100.00%
5 Longest Palindromic Substring LongestPalindromicSubstring.java Beat 86.88%
6 ZigZag Conversion ZigZagConversion.java Beat 95.76%
7 Reverse Integer ReverseInteger.java Beat 100%
8 String to Integer StringToInteger.java Beat 100%
9 Palindrome Number PalindromeNumber.java Beat 100%
10 Regular Expression Matching RegularExpressionMatching.java Beat 93.19%
11 Container With Most Water ContainerWithMostWater.java Beat 95.44%
12 Integer to Roman IntegerToRoman.java Beat 81.64
13 Roman to Integer RomanToInteger.java Beat 75.68
14 Longest Common Prefix LongestCommonPrefix.java Beat 100.00%
15 3 Sum ThreeSum.java Beat 92.57%
16 3 Sum Closest ThreeSumClosest.java Beat 86.03%
17 Letter Combinations of a Phone Number TelephoneKeypad.java Beat 72.3%
18 4 Sum FourSum.java Beat 83.12%
19 Remove Nth Node From End of List RemoveNodeEndOfList.java Beat 100.00%
20 Valid Parentheses ValidParentheses.java Beat 98.71%
21 Merge Two Sorted Lists MergeTwoSortedLists.java Beat 100%
22 Generate Parentheses GenerateParentheses.java Beat 87.83%
23 Merge k Sorted Lists MergeKSortedLists.java Beat 81.78%
24 Swap Nodes in Pairs SwapNodesInPairs.java Beat 100%
914 X of a Kind in a Deck of Cards GroupsOfCards.java Beat 74.39%

FAQs

I saw some of the solutions are not beating 100% of submissions, should I still use them as reference for interview preparation?

Yes. Some of them don't have perfect runtime due to the following reasons:

  1. Leetcode online judge test runner is unstable. It sometimes slows down the solutions' runtime by milliseconds, which has big impacts on their performance percentile.

  2. Some of the Leetcode submissions are over optimized for online judge system, such as putting all business logic in a giant function, using math tricks, or hardcode all test cases. The giant function approach sacrifices code cleanness, which is one of the important grading metrics for coding interviews. The math tricks cannot assess how good you are at coding, which is another grading metric of coding interview.

License

This project is maintained under MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].