<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bleis-tift</author_name>
  <author_url>https://blog.hatena.ne.jp/bleis-tift/</author_url>
  <blog_title>ぐるぐる～</blog_title>
  <blog_url>https://bleis-tift.hatenablog.com/</blog_url>
  <categories>
    <anon>SQL</anon>
  </categories>
  <description>採用試験に挑戦 - 気楽に諸々をみて自分でもやってみたよ。SQL*1で。 問題：座標のグリッド揃え きれいにそろった図形というのはきれいな物です。 図形をそろえる上で、グリッド揃え等が必要になったりするでしょう。 これには座標をある一定のグリッド間隔に丸める必要があります。 struct Position { int x; int y; } (Javaの場合にはclass)を int gridPitch に丸めるFitToGrid関数を書いて下さい。 採用面接で使った課題 structもclassもかったるいので、こんなテーブルを用意。 CREATE TABLE [dbo].[Position…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbleis-tift.hatenablog.com%2Fentry%2F20081222%2F1229945824&quot; title=&quot;採用試験に挑戦! - ぐるぐる～&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-12-22 20:37:04</published>
  <title>採用試験に挑戦!</title>
  <type>rich</type>
  <url>https://bleis-tift.hatenablog.com/entry/20081222/1229945824</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
