|DEF Type 1 / DEF Type 2 \ ATK Type | |
|
|
|
|
|
|
|
|
|
|
|
|
|
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :
View Dual-Type-Chart.md
View 25_nodes.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View discussion-05.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View ex-3-9-17.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View ex-3-3-2.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View genral_mpr.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View phantom_force.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View jsonequals.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _get_json_iterator(json): | |
if isinstance(json, dict): | |
return json.keys() | |
elif isinstance(json, list): | |
return range(len(json)) | |
else: | |
raise Exception() | |
def is_json_equal(json_a, json_b): | |
if json_a is json_b: |
View CombinatoricEnumeration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Linq; | |
using System.Collections.Generic; | |
namespace Combinatoric.Enumeration | |
{ | |
public static class CombinatoricEnumeration | |
{ | |
// https://docs.python.org/2/library/itertools.html#itertools.combinations | |
public static IEnumerable<List<T>> Combinations<T>(this IEnumerable<T> items, int r) | |
{ |
NewerOlder